Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001488/0.001488, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002025/0.002025, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.431/1.431, 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 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.83 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003788/1.093, allocations: 1.782 MB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001405/1.094, allocations: 0.6132 MB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/1.094, allocations: 5.938 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002278/1.095, allocations: 31.14 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004326/1.095, allocations: 119.6 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/1.096, allocations: 157.1 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003879/1.096, allocations: 243.2 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/1.096, allocations: 42.77 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/1.096, allocations: 109.7 kB / 1.092 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006497/1.103, allocations: 1.049 MB / 1.093 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/1.103, allocations: 16.88 kB / 1.093 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/1.103, allocations: 38.38 kB / 1.093 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/1.103, allocations: 47.12 kB / 1.093 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/1.103, allocations: 91.42 kB / 1.093 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007063/1.104, allocations: 221.9 kB / 1.093 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.104, allocations: 1.328 kB / 1.093 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/1.104, allocations: 0 / 1.093 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.104, allocations: 0.7812 kB / 1.093 GB, free: 3.074 MB / 0.8575 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.001144/1.105, allocations: 0.5499 MB / 1.094 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/1.105, allocations: 12.66 kB / 1.094 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/1.106, allocations: 25.22 kB / 1.094 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/1.106, allocations: 255.1 kB / 1.094 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/1.106, allocations: 11.59 kB / 1.094 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/1.106, allocations: 20.73 kB / 1.094 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/1.106, allocations: 108.1 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.106, allocations: 0.5156 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/1.106, allocations: 5.203 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.107, allocations: 6.719 kB / 1.094 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/1.107, allocations: 61.91 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/1.108, allocations: 493.5 kB / 1.095 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/1.108, allocations: 111.1 kB / 1.095 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/1.108, allocations: 35.78 kB / 1.095 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/1.108, allocations: 2.062 kB / 1.095 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/1.108, allocations: 116.6 kB / 1.095 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/1.109, allocations: 0 / 1.095 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004489/1.109, allocations: 174.3 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/1.109, allocations: 55.44 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/1.109, allocations: 203.5 kB / 1.095 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/1.109, allocations: 34.23 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/1.109, allocations: 132.7 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/1.109, allocations: 36.12 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.11, allocations: 66.34 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/1.11, allocations: 329.6 kB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/1.11, allocations: 63.8 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/1.11, allocations: 131.6 kB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/1.111, allocations: 217.2 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.111, allocations: 0.5938 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006972/1.111, allocations: 334.3 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/1.111, allocations: 64.36 kB / 1.097 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.111, allocations: 6.844 kB / 1.097 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.111, allocations: 6.375 kB / 1.097 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/1.112, allocations: 16.09 kB / 1.097 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/1.112, allocations: 7.969 kB / 1.097 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/1.112, allocations: 25.55 kB / 1.097 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/1.112, allocations: 15.75 kB / 1.097 GB, free: 372 kB / 0.8575 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.0001388/1.112, allocations: 141.9 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/1.112, allocations: 21.83 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/1.112, allocations: 158.9 kB / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.112, allocations: 0.7969 kB / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.112, allocations: 0 / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/1.112, allocations: 98.81 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/1.112, allocations: 5.984 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/1.113, allocations: 7.219 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/1.113, allocations: 17.75 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003464/1.113, allocations: 219.6 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003658/1.113, allocations: 312.9 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001198/1.114, allocations: 48.12 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001774/1.114, allocations: 146.8 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of Backend: time 6.21e-07/1.114, allocations: 0 / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001172/1.115, allocations: 363.9 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of SimCode: time 0.000993/1.116, allocations: 0.7754 MB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.01143/1.127, allocations: 3.655 MB / 1.102 GB, free: 14.26 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches