Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 109.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9949/0.9964, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003122/0.9996, allocations: 1.771 MB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00121/1.001, allocations: 0.6312 MB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/1.001, allocations: 7.938 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000198/1.001, allocations: 31.72 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003746/1.002, allocations: 115.5 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/1.002, allocations: 164.9 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002961/1.002, allocations: 243.4 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/1.002, allocations: 37.67 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/1.003, allocations: 107.7 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006035/1.009, allocations: 1.056 MB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.391e-05/1.009, allocations: 16 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/1.009, allocations: 43.92 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/1.009, allocations: 39.83 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/1.009, allocations: 87.58 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/1.009, allocations: 223.2 kB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.009, allocations: 0 / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.593e-06/1.009, allocations: 0 / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.621e-05/1.01, allocations: 4 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009391/1.01, allocations: 0.5545 MB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.011, allocations: 8.031 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.282e-05/1.011, allocations: 20.75 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/1.011, allocations: 249.6 kB / 1.173 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/1.011, allocations: 12.38 kB / 1.173 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/1.011, allocations: 32.11 kB / 1.173 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/1.011, allocations: 101.6 kB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.011, allocations: 4 kB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.011, allocations: 0 / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.011, allocations: 0 / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/1.012, allocations: 59.91 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/1.013, allocations: 0.4885 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/1.013, allocations: 110.7 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/1.013, allocations: 40.84 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/1.013, allocations: 0 / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/1.013, allocations: 111.3 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/1.013, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003705/1.014, allocations: 169.3 kB / 1.174 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.014, allocations: 59.41 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/1.014, allocations: 203.7 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/1.014, allocations: 33.7 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.014, allocations: 140.3 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/1.014, allocations: 27.56 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.014, allocations: 73.81 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.014, allocations: 330.8 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/1.014, allocations: 63.81 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/1.015, allocations: 134 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/1.015, allocations: 210.2 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.015, allocations: 0 / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006367/1.016, allocations: 338.4 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/1.016, allocations: 67.39 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.016, allocations: 7.938 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.016, allocations: 7.938 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/1.016, allocations: 15.98 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.016, allocations: 7.938 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/1.016, allocations: 23.83 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/1.016, allocations: 12 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/1.016, allocations: 140.2 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/1.016, allocations: 19.81 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/1.017, allocations: 157.8 kB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.017, allocations: 0 / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.017, allocations: 0 / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.017, allocations: 4 kB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/1.017, allocations: 490.2 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.017, allocations: 0 / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/1.017, allocations: 11.98 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/1.017, allocations: 4 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/1.017, allocations: 4 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.017, allocations: 0 / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.017, allocations: 0 / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/1.018, allocations: 240.8 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.924e-05/1.018, allocations: 108.8 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/1.018, allocations: 4.047 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/1.018, allocations: 19.97 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/1.018, allocations: 15.98 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/1.018, allocations: 11.94 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000152/1.018, allocations: 140.2 kB / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.018, allocations: 0 / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003301/1.019, allocations: 47.98 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003833/1.019, allocations: 159 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004642/1.019, allocations: 258 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.019, allocations: 0 / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/1.02, allocations: 59.14 kB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/1.02, allocations: 69.66 kB / 1.177 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/1.021, allocations: 348.9 kB / 1.177 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/1.021, allocations: 0.7322 MB / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/1.021, allocations: 27.42 kB / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/1.021, allocations: 0 / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of Templates: time 0.00625/1.027, allocations: 3.279 MB / 1.181 GB, free: 5.098 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches