Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008828/0.008828, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001773/0.001773, allocations: 200.5 kB / 16.68 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3708, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003737/0.3746, allocations: 1.779 MB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.376, allocations: 0.6314 MB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.3762, allocations: 3.938 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.3764, allocations: 31.7 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005564/0.377, allocations: 123.4 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.3774, allocations: 158.8 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.3779, allocations: 235.5 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.378, allocations: 25.67 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.3782, allocations: 119.5 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006362/0.3846, allocations: 1.047 MB / 1.225 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.08e-05/0.3847, allocations: 16 kB / 1.225 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3848, allocations: 43.98 kB / 1.225 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.3849, allocations: 51.77 kB / 1.225 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.385, allocations: 87.52 kB / 1.225 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.3855, allocations: 223.1 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3855, allocations: 0 / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3855, allocations: 0 / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.3855, allocations: 4 kB / 1.225 GB, free: 9.559 MB / 0.9825 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.001006/0.3865, allocations: 0.5604 MB / 1.226 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3866, allocations: 8.031 kB / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3867, allocations: 24.8 kB / 1.226 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.387, allocations: 252.2 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3871, allocations: 8.375 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.3871, allocations: 19.94 kB / 1.226 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.3873, allocations: 107.9 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3873, allocations: 0 / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3874, allocations: 0 / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3874, allocations: 4 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.3875, allocations: 67.77 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009874/0.3885, allocations: 484.4 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.3888, allocations: 106.6 kB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.3889, allocations: 40.89 kB / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.3889, allocations: 0 / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.3891, allocations: 102.5 kB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.3891, allocations: 0 / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003764/0.3894, allocations: 181.3 kB / 1.227 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.3895, allocations: 59.39 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.3897, allocations: 211.8 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.3898, allocations: 37.69 kB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.3899, allocations: 124.5 kB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.3899, allocations: 39.69 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.39, allocations: 61.69 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3902, allocations: 330.8 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.3904, allocations: 55.95 kB / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.3906, allocations: 143.5 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.3909, allocations: 213.3 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3909, allocations: 0 / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006494/0.3916, allocations: 336.5 kB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.3916, allocations: 67.33 kB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3916, allocations: 4 kB / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3917, allocations: 4 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.3918, allocations: 20.14 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3918, allocations: 8 kB / 1.229 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.392, allocations: 23.81 kB / 1.229 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.392, allocations: 19.98 kB / 1.229 GB, free: 5.574 MB / 0.9825 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.000157/0.3922, allocations: 132.6 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3922, allocations: 23.84 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.3925, allocations: 151.4 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3925, allocations: 0 / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3925, allocations: 0 / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3925, allocations: 8 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.3931, allocations: 492.8 kB / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.3931, allocations: 3.938 kB / 1.229 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.3931, allocations: 7.984 kB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3931, allocations: 8 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3932, allocations: 0 / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3932, allocations: 0 / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3932, allocations: 0 / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3934, allocations: 251.2 kB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.3935, allocations: 105 kB / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.3935, allocations: 0 / 1.23 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3937, allocations: 11.98 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.3937, allocations: 11.98 kB / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3938, allocations: 12 kB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000138/0.3939, allocations: 149.5 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3939, allocations: 4 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003426/0.3942, allocations: 51.89 kB / 1.23 GB, free: 4.074 MB / 0.9825 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.000384/0.3946, allocations: 173.3 kB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.3951, allocations: 246.6 kB / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3951, allocations: 0 / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.3952, allocations: 51.92 kB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.3956, allocations: 62.47 kB / 1.23 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.3963, allocations: 326.9 kB / 1.231 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3967, allocations: 0.7242 MB / 1.231 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.482e-05/0.3967, allocations: 25.94 kB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.3968, allocations: 27.42 kB / 1.232 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3968, allocations: 0 / 1.232 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of Templates: time 0.008461/0.4053, allocations: 3.583 MB / 1.235 GB, free: 14.86 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches