Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009865/0.0009867, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008062/0.008062, allocations: 170.1 kB / 16.27 MB, free: 6.328 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8.438 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002453/0.3287, allocations: 1.585 MB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3301, allocations: 0.6588 MB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.3303, allocations: 3.938 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.3305, allocations: 19.86 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.3309, allocations: 91.66 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.3314, allocations: 151 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000333/0.3317, allocations: 231.4 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3319, allocations: 41.58 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3321, allocations: 95.61 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03871/0.3708, allocations: 2.645 MB / 1.064 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.954e-05/0.3709, allocations: 8 kB / 1.064 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3711, allocations: 31.94 kB / 1.064 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.3712, allocations: 39.83 kB / 1.064 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.3713, allocations: 109.3 kB / 1.064 GB, free: 396 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.3716, allocations: 203.3 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3716, allocations: 0 / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3717, allocations: 0 / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3717, allocations: 0 / 1.064 GB, free: 192 kB / 0.8106 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.0007582/0.3724, allocations: 0.5178 MB / 1.065 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3725, allocations: 8.031 kB / 1.065 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.3726, allocations: 24.66 kB / 1.065 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.3729, allocations: 248.1 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3729, allocations: 12.36 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.373, allocations: 16.12 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.3732, allocations: 108.5 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3732, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3732, allocations: 4 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3732, allocations: 8 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.3733, allocations: 55.97 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.3742, allocations: 0.4884 MB / 1.066 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.3745, allocations: 116.7 kB / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.3745, allocations: 36.84 kB / 1.066 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3746, allocations: 8 kB / 1.066 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.3747, allocations: 95.36 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3747, allocations: 4 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003274/0.3751, allocations: 192.6 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3751, allocations: 55.41 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.3753, allocations: 211.6 kB / 1.067 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.3754, allocations: 33.7 kB / 1.067 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.3754, allocations: 128.4 kB / 1.067 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.3755, allocations: 35.56 kB / 1.067 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.3755, allocations: 29.7 kB / 1.067 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3757, allocations: 334.8 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3758, allocations: 59.95 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.376, allocations: 127.7 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.3763, allocations: 213.2 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3763, allocations: 0 / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007466/0.3771, allocations: 333.7 kB / 1.068 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/0.3771, allocations: 67.39 kB / 1.068 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3772, allocations: 7.938 kB / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3772, allocations: 0 / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.3773, allocations: 23.92 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3773, allocations: 3.984 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3775, allocations: 35.92 kB / 1.068 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.3775, allocations: 19.97 kB / 1.068 GB, free: 12.26 MB / 0.8262 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.0001409/0.3777, allocations: 140 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.3777, allocations: 15.81 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.378, allocations: 155.3 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.378, allocations: 4 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.378, allocations: 0 / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.378, allocations: 0 / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.3786, allocations: 490.2 kB / 1.069 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3786, allocations: 3.984 kB / 1.069 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.3786, allocations: 7.938 kB / 1.069 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3786, allocations: 4 kB / 1.069 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3786, allocations: 4 kB / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3786, allocations: 0 / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3787, allocations: 0 / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.3789, allocations: 247.1 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.379, allocations: 104.8 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.379, allocations: 8 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3791, allocations: 11.98 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.3792, allocations: 23.91 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3792, allocations: 8 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001179/0.3793, allocations: 149.5 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3794, allocations: 0 / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000309/0.3797, allocations: 43.94 kB / 1.069 GB, free: 10.77 MB / 0.8262 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.0003524/0.38, allocations: 160.2 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.3804, allocations: 254.5 kB / 1.07 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3804, allocations: 0 / 1.07 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.3805, allocations: 51.97 kB / 1.07 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.381, allocations: 68.12 kB / 1.07 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.3816, allocations: 377.9 kB / 1.07 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.3819, allocations: 0.7245 MB / 1.071 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.93e-05/0.382, allocations: 38 kB / 1.071 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.3821, allocations: 23.42 kB / 1.071 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3821, allocations: 0 / 1.071 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.007145/0.3892, allocations: 3.348 MB / 1.074 GB, free: 5.711 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches