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.008629/0.008629, allocations: 99.89 kB / 15.73 MB, free: 6.059 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.002543/0.002543, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.483/1.483, 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 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 64.11 kB / 1.018 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9022/0.9037, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002968/0.9067, allocations: 1.78 MB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.9078, allocations: 0.6234 MB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.9079, allocations: 3.938 kB / 1.169 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.9081, allocations: 31.73 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.9085, allocations: 123.4 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.9089, allocations: 157.3 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.9092, allocations: 247.4 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.9094, allocations: 37.66 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.9095, allocations: 107.7 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006033/0.9155, allocations: 1.052 MB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.9156, allocations: 20 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.9157, allocations: 36 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.9158, allocations: 47.81 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.916, allocations: 99.44 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.9164, allocations: 220.1 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9164, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9164, allocations: 3.938 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.9164, allocations: 4 kB / 1.171 GB, free: 15.51 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.0008059/0.9172, allocations: 0.5526 MB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.9173, allocations: 16.02 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/0.9174, allocations: 24.8 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.9177, allocations: 245.7 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.9177, allocations: 12.38 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.9178, allocations: 16.12 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.918, allocations: 108.3 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.918, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.918, allocations: 11.98 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.918, allocations: 3.938 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.9182, allocations: 55.97 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.919, allocations: 492.3 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.9193, allocations: 110.7 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.9194, allocations: 36.84 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.9194, allocations: 4 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.9196, allocations: 107.3 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.9196, allocations: 0 / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003548/0.92, allocations: 180.3 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.92, allocations: 59.39 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.9203, allocations: 211.7 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.9203, allocations: 33.7 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.9204, allocations: 120.5 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.9205, allocations: 43.69 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.944e-05/0.9206, allocations: 61.88 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9207, allocations: 326.8 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.9209, allocations: 67.81 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.9211, allocations: 131.6 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.9214, allocations: 219 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9214, allocations: 0 / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005657/0.922, allocations: 344.7 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.9221, allocations: 63.39 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.9221, allocations: 3.938 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.9221, allocations: 4 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.9222, allocations: 20 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.9222, allocations: 11.86 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.9224, allocations: 19.89 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.9224, allocations: 15.98 kB / 1.175 GB, free: 11.53 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.0001342/0.9226, allocations: 151.2 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.9226, allocations: 15.91 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.9229, allocations: 151.3 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.9229, allocations: 4 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9229, allocations: 0 / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9229, allocations: 0 / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.9235, allocations: 494.1 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9235, allocations: 4 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.9235, allocations: 4 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.9236, allocations: 4 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.9236, allocations: 7.984 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9236, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.9236, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.9238, allocations: 245.3 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.9239, allocations: 100.9 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.924, allocations: 4 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.9241, allocations: 11.98 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.9242, allocations: 15.98 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.9242, allocations: 11.98 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001268/0.9243, allocations: 144.2 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9243, allocations: 0 / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003317/0.9247, allocations: 51.89 kB / 1.176 GB, free: 10.03 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.0003284/0.925, allocations: 172.6 kB / 1.176 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.9254, allocations: 250.4 kB / 1.176 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.9254, allocations: 4.062 kB / 1.176 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.9255, allocations: 51.92 kB / 1.176 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.926, allocations: 67.33 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.9266, allocations: 323 kB / 1.177 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.9269, allocations: 0.7281 MB / 1.178 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.75e-05/0.927, allocations: 25.94 kB / 1.178 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.927, allocations: 27.44 kB / 1.178 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.927, allocations: 0 / 1.178 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of Templates: time 0.007787/0.9348, allocations: 3.585 MB / 1.181 GB, free: 4.793 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches