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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00115/0.00115, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001317/0.001317, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.899/2.899, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.000506, allocations: 8 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7893, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002515/0.7919, allocations: 1.548 MB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.7931, allocations: 0.6393 MB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.562e-05/0.7932, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.7934, allocations: 31.78 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.7937, allocations: 99.59 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.7941, allocations: 151.7 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.7944, allocations: 195.5 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.7945, allocations: 29.66 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.7946, allocations: 91.69 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003903/0.7986, allocations: 2.499 MB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.7986, allocations: 8 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-05/0.7987, allocations: 23.98 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.7988, allocations: 31.84 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/0.7989, allocations: 53.64 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.7991, allocations: 151.6 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7991, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7991, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.7991, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 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.0007381/0.7998, allocations: 0.5213 MB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7999, allocations: 12.56 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.8, allocations: 19.81 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.8003, allocations: 246.6 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.8003, allocations: 12 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.8004, allocations: 20 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.8006, allocations: 105.6 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.8006, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.8006, allocations: 8 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8006, allocations: 0 / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.8007, allocations: 55.97 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008509/0.8016, allocations: 0.4923 MB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.8019, allocations: 114.7 kB / 1.029 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.8019, allocations: 32.84 kB / 1.029 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.802, allocations: 11.92 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.8021, allocations: 105.7 kB / 1.029 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.8021, allocations: 4 kB / 1.029 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003397/0.8025, allocations: 173.3 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.8026, allocations: 55.41 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.8028, allocations: 203.7 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.8028, allocations: 33.7 kB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.8029, allocations: 128.4 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.8029, allocations: 35.45 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.803, allocations: 8 kB / 1.03 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8031, allocations: 330.8 kB / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.8033, allocations: 63.95 kB / 1.03 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.8035, allocations: 126.1 kB / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.8037, allocations: 143.2 kB / 1.031 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8037, allocations: 4.031 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005506/0.8043, allocations: 328.6 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.8043, allocations: 67.34 kB / 1.031 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.8043, allocations: 8 kB / 1.031 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.8044, allocations: 0 / 1.031 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.8045, allocations: 31.86 kB / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.8045, allocations: 0 / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.8047, allocations: 31.98 kB / 1.031 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.8047, allocations: 15.98 kB / 1.031 GB, free: 6.723 MB / 0.7794 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 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.8048, allocations: 140 kB / 1.031 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.8049, allocations: 19.72 kB / 1.031 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.8051, allocations: 153.8 kB / 1.031 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.8051, allocations: 4 kB / 1.031 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.8051, allocations: 0 / 1.031 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8052, allocations: 0 / 1.031 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.8058, allocations: 494.2 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8058, allocations: 3.984 kB / 1.032 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.8058, allocations: 11.94 kB / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8058, allocations: 0 / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.8059, allocations: 0 / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.8059, allocations: 4 kB / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8059, allocations: 4 kB / 1.032 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.8061, allocations: 235.3 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.8062, allocations: 108.8 kB / 1.032 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.8062, allocations: 4 kB / 1.032 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.8063, allocations: 11.98 kB / 1.032 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.8064, allocations: 19.91 kB / 1.032 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.8065, allocations: 19.94 kB / 1.032 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001235/0.8066, allocations: 140.2 kB / 1.033 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8066, allocations: 0 / 1.033 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003189/0.8069, allocations: 51.89 kB / 1.033 GB, free: 5.23 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003711/0.8073, allocations: 162.9 kB / 1.033 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.8077, allocations: 251.2 kB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8078, allocations: 0 / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.8079, allocations: 54.33 kB / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.8083, allocations: 63.42 kB / 1.033 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.809, allocations: 364.4 kB / 1.033 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.8093, allocations: 0.7284 MB / 1.034 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.596e-05/0.8094, allocations: 33.86 kB / 1.034 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.8095, allocations: 19.44 kB / 1.034 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8095, allocations: 0 / 1.034 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of Templates: time 0.007524/0.817, allocations: 3.228 MB / 1.037 GB, free: 324 kB / 0.7794 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