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.0018/0.0018, allocations: 116.8 kB / 16.42 MB, free: 6.48 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.002007/0.002007, allocations: 186.6 kB / 17.35 MB, free: 5.754 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.511/1.511, allocations: 222.9 MB / 241.1 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.511/2.511, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 59.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00386/1.09, allocations: 1.768 MB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001395/1.092, allocations: 0.6389 MB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/1.092, allocations: 3.938 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002341/1.092, allocations: 31.73 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004969/1.093, allocations: 119.4 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/1.093, allocations: 161.4 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/1.094, allocations: 231.5 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/1.094, allocations: 49.58 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/1.094, allocations: 111.7 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006212/1.1, allocations: 1.04 MB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.752e-05/1.1, allocations: 16 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/1.101, allocations: 47.91 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/1.101, allocations: 35.91 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/1.101, allocations: 95.5 kB / 1.172 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/1.101, allocations: 230.6 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/1.101, allocations: 0 / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.096e-06/1.101, allocations: 0 / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.087e-06/1.101, allocations: 0 / 1.172 GB, free: 15.5 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.001/1.102, allocations: 0.5564 MB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.102, allocations: 8.031 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/1.103, allocations: 24.8 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/1.103, allocations: 253.7 kB / 1.173 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/1.103, allocations: 16.36 kB / 1.173 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/1.103, allocations: 16.12 kB / 1.173 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/1.103, allocations: 111.9 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.103, allocations: 0 / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/1.103, allocations: 0 / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/1.103, allocations: 4 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/1.103, allocations: 59.91 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/1.105, allocations: 492.4 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/1.105, allocations: 107.8 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/1.105, allocations: 40.84 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/1.105, allocations: 0 / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/1.105, allocations: 107.4 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 4.408e-06/1.105, allocations: 0 / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0004042/1.106, allocations: 184.1 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.106, allocations: 59.34 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/1.106, allocations: 203.8 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/1.106, allocations: 33.7 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/1.106, allocations: 132.4 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/1.106, allocations: 35.69 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/1.106, allocations: 65.88 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.106, allocations: 334.8 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/1.107, allocations: 71.75 kB / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/1.107, allocations: 127.6 kB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/1.107, allocations: 214.4 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.107, allocations: 0 / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006313/1.108, allocations: 332.8 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.25e-05/1.108, allocations: 75.42 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.108, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/1.108, allocations: 7.938 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/1.108, allocations: 15.98 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/1.108, allocations: 15.92 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/1.108, allocations: 27.88 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/1.108, allocations: 8 kB / 1.175 GB, free: 11.51 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.0001605/1.108, allocations: 140.1 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/1.109, allocations: 19.91 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/1.109, allocations: 155.3 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.109, allocations: 0 / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.109, allocations: 0 / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.109, allocations: 105 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/1.109, allocations: 8 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/1.109, allocations: 7.984 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/1.109, allocations: 15.98 kB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002976/1.109, allocations: 216.8 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000314/1.11, allocations: 320.9 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.368e-05/1.11, allocations: 47.97 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001236/1.11, allocations: 144.2 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of Backend: time 4.41e-07/1.11, allocations: 0 / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009802/1.111, allocations: 374.1 kB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000916/1.112, allocations: 0.7762 MB / 1.178 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of Templates: time 0.008667/1.121, allocations: 3.666 MB / 1.181 GB, free: 5.48 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