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.008556/0.008556, allocations: 102 kB / 15.73 MB, free: 6.051 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.001865/0.001865, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.89 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 140.3 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004591/1.139, allocations: 1.787 MB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001419/1.141, allocations: 0.6186 MB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/1.141, allocations: 2.031 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/1.141, allocations: 30.42 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004396/1.142, allocations: 127.9 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/1.142, allocations: 158.2 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003981/1.143, allocations: 236 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/1.143, allocations: 46.66 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/1.143, allocations: 113.4 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006263/1.149, allocations: 1.045 MB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/1.149, allocations: 18 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/1.149, allocations: 41.86 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/1.15, allocations: 43.06 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/1.15, allocations: 98 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/1.15, allocations: 227.7 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.15, allocations: 1.062 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/1.15, allocations: 0 / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.15, allocations: 0 / 1.092 GB, free: 3.031 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.0008663/1.151, allocations: 0.5461 MB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.151, allocations: 10.09 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/1.151, allocations: 25.08 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/1.152, allocations: 259.1 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/1.152, allocations: 11.77 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/1.152, allocations: 19.91 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/1.152, allocations: 104 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.152, allocations: 1.156 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/1.152, allocations: 1.641 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/1.152, allocations: 2.188 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/1.152, allocations: 69.69 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/1.153, allocations: 486.4 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/1.154, allocations: 110.5 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/1.154, allocations: 38.73 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/1.154, allocations: 7.219 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/1.154, allocations: 104.3 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/1.154, allocations: 0.7188 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.000437/1.154, allocations: 173.7 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.154, allocations: 59.89 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/1.155, allocations: 203.2 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/1.155, allocations: 34.97 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/1.155, allocations: 131.7 kB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/1.155, allocations: 40.73 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/1.155, allocations: 61.94 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/1.155, allocations: 329.6 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/1.155, allocations: 64.23 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/1.156, allocations: 137.4 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/1.156, allocations: 206.9 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.156, allocations: 4.031 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006875/1.157, allocations: 325.6 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/1.157, allocations: 69.45 kB / 1.096 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.157, allocations: 5.844 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.157, allocations: 14.28 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/1.157, allocations: 17.39 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.157, allocations: 3 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/1.157, allocations: 26.56 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/1.157, allocations: 14.98 kB / 1.096 GB, free: 344 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.0001236/1.157, allocations: 142 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/1.157, allocations: 21.23 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/1.158, allocations: 152.9 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.158, allocations: 2.812 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.158, allocations: 4.797 kB / 1.096 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.158, allocations: 0.7969 kB / 1.096 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/1.158, allocations: 494.6 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.158, allocations: 0.6094 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/1.158, allocations: 7.891 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.158, allocations: 0.875 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/1.158, allocations: 6.547 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.158, allocations: 1.094 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.158, allocations: 0 / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/1.159, allocations: 243.8 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/1.159, allocations: 101 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/1.159, allocations: 2.984 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/1.159, allocations: 11.69 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/1.159, allocations: 16.11 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/1.159, allocations: 7.859 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001471/1.159, allocations: 146.8 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.159, allocations: 0 / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003368/1.16, allocations: 45.78 kB / 1.097 GB, free: 15.34 MB / 0.8731 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.0004071/1.16, allocations: 177.1 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005008/1.16, allocations: 249.5 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.161, allocations: 4.5 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/1.161, allocations: 56.84 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/1.161, allocations: 65.64 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007679/1.162, allocations: 316.8 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/1.162, allocations: 0.7243 MB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.493e-05/1.162, allocations: 26.02 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/1.162, allocations: 23.03 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.162, allocations: 1.031 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.009889/1.172, allocations: 3.576 MB / 1.102 GB, free: 13.76 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches