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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001291/0.001291, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 60.84 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3854, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003845/0.3893, allocations: 1.766 MB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3906, allocations: 0.6157 MB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.3908, allocations: 4 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.391, allocations: 39.66 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.3915, allocations: 115.5 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.392, allocations: 159.7 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.3923, allocations: 243.4 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.3925, allocations: 41.66 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.3927, allocations: 103.7 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00615/0.3988, allocations: 1.053 MB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.708e-05/0.3989, allocations: 16 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.3991, allocations: 35.98 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.3991, allocations: 51.83 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.3993, allocations: 95.45 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.3997, allocations: 211.4 kB / 1.073 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3997, allocations: 0 / 1.073 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3997, allocations: 0 / 1.073 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3997, allocations: 0 / 1.073 GB, free: 6.094 MB / 0.8262 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.0008909/0.4006, allocations: 0.5641 MB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4007, allocations: 16.03 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.4008, allocations: 20.75 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.4012, allocations: 241.7 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.4012, allocations: 16.36 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.4012, allocations: 16.12 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.4014, allocations: 108 kB / 1.074 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4015, allocations: 0 / 1.074 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.4015, allocations: 8 kB / 1.074 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.4015, allocations: 0 / 1.074 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.4016, allocations: 55.97 kB / 1.074 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/0.4026, allocations: 496.1 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.4029, allocations: 114.7 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.403, allocations: 48.77 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.403, allocations: 0 / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.4032, allocations: 107.2 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.4032, allocations: 0 / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003784/0.4036, allocations: 173.4 kB / 1.075 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4036, allocations: 55.41 kB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.4039, allocations: 211.6 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.4039, allocations: 33.7 kB / 1.075 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.404, allocations: 132.3 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.4041, allocations: 31.56 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.4042, allocations: 61.67 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4043, allocations: 334.8 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.4045, allocations: 63.89 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.4047, allocations: 131.7 kB / 1.076 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.405, allocations: 213.3 kB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.405, allocations: 0 / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005846/0.4056, allocations: 328.5 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/0.4057, allocations: 63.39 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4057, allocations: 12.09 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4057, allocations: 8 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.4058, allocations: 23.92 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4058, allocations: 4 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.406, allocations: 19.83 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.4061, allocations: 23.97 kB / 1.076 GB, free: 2.105 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.0001313/0.4062, allocations: 137.8 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.4063, allocations: 19.81 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.4065, allocations: 157.8 kB / 1.077 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4065, allocations: 0 / 1.077 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4065, allocations: 0 / 1.077 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.4065, allocations: 4 kB / 1.077 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.4071, allocations: 490.2 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4071, allocations: 0 / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.4072, allocations: 7.984 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4072, allocations: 4 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4072, allocations: 4 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4072, allocations: 3.938 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4072, allocations: 0 / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.4075, allocations: 241.7 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.4076, allocations: 112.7 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4076, allocations: 48 / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4077, allocations: 15.97 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.4078, allocations: 19.92 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.4078, allocations: 12 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001243/0.408, allocations: 145.5 kB / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.408, allocations: 0 / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003214/0.4083, allocations: 44 kB / 1.078 GB, free: 0.6172 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.0003619/0.4087, allocations: 164.8 kB / 1.078 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.4091, allocations: 266.5 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4091, allocations: 320 / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.096e-05/0.4092, allocations: 55.97 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.4097, allocations: 69.38 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.4104, allocations: 323.2 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4107, allocations: 0.7321 MB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.425e-05/0.4108, allocations: 25.94 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.4108, allocations: 23.42 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4108, allocations: 0 / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.00761/0.4185, allocations: 3.56 MB / 1.083 GB, free: 11.39 MB / 0.8419 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