Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.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.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 111.6 kB / 16.41 MB, free: 6.484 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.001609/0.001609, allocations: 183 kB / 17.34 MB, free: 5.762 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.8634, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003256/0.8667, allocations: 1.791 MB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.8679, allocations: 0.6006 MB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.868, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.8682, allocations: 27.72 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.8685, allocations: 115.5 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.8689, allocations: 147.7 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.8692, allocations: 227.5 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.8693, allocations: 33.55 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.8695, allocations: 107.6 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004712/0.8742, allocations: 0.8022 MB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.8743, allocations: 19.98 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.8744, allocations: 36 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.8745, allocations: 39.84 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.8746, allocations: 91.5 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.875, allocations: 215.3 kB / 1.213 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.875, allocations: 0 / 1.213 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.734e-06/0.875, allocations: 0 / 1.213 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.875, allocations: 0 / 1.213 GB, free: 9.742 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008332/0.8759, allocations: 0.5373 MB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.8759, allocations: 8.031 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.876, allocations: 20.75 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.8763, allocations: 248.2 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.8764, allocations: 15.94 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.8764, allocations: 19.98 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.8766, allocations: 97.64 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.8766, allocations: 0 / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.8767, allocations: 0 / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.8767, allocations: 7.938 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.8768, allocations: 51.97 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008459/0.8776, allocations: 476.2 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.8778, allocations: 78.55 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.8779, allocations: 28.84 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.8779, allocations: 4 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.8781, allocations: 98.31 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.8781, allocations: 0 / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0003196/0.8784, allocations: 149.6 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.8785, allocations: 55.41 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.8787, allocations: 186.4 kB / 1.215 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.8787, allocations: 33.7 kB / 1.215 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.8788, allocations: 124.4 kB / 1.215 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.8789, allocations: 35.55 kB / 1.215 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.532e-05/0.879, allocations: 61.67 kB / 1.215 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.8791, allocations: 322.8 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.8792, allocations: 35.92 kB / 1.215 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.8794, allocations: 125.7 kB / 1.215 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.8795, allocations: 101.3 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8796, allocations: 3.938 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002416/0.8798, allocations: 156.7 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.8798, allocations: 4 kB / 1.215 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.8798, allocations: 3.938 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.8799, allocations: 4 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.88, allocations: 19.92 kB / 1.216 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.88, allocations: 4 kB / 1.216 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.8802, allocations: 23.83 kB / 1.216 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.8802, allocations: 8 kB / 1.216 GB, free: 6.359 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001338/0.8803, allocations: 141.7 kB / 1.216 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.8804, allocations: 15.81 kB / 1.216 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.8806, allocations: 127.1 kB / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8806, allocations: 0 / 1.216 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.8806, allocations: 4 kB / 1.216 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8806, allocations: 3.938 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.8812, allocations: 462.2 kB / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8812, allocations: 4 kB / 1.216 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.8812, allocations: 7.938 kB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8812, allocations: 0 / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.8812, allocations: 7.984 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.8813, allocations: 4 kB / 1.216 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8813, allocations: 0 / 1.216 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.8815, allocations: 215.3 kB / 1.216 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.8816, allocations: 96.94 kB / 1.217 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.8816, allocations: 15.98 kB / 1.217 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.8817, allocations: 4 kB / 1.217 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.8818, allocations: 15.97 kB / 1.217 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.8818, allocations: 8 kB / 1.217 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001335/0.8819, allocations: 145.3 kB / 1.217 GB, free: 5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8819, allocations: 0 / 1.217 GB, free: 5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000312/0.8823, allocations: 47.94 kB / 1.217 GB, free: 4.953 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003626/0.8826, allocations: 171.3 kB / 1.217 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.8829, allocations: 93.91 kB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8829, allocations: 4 kB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.883, allocations: 43.92 kB / 1.217 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.8834, allocations: 44.83 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.884, allocations: 308.7 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.8843, allocations: 0.7244 MB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.8844, allocations: 23.44 kB / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.8844, allocations: 0 / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of Templates: time 0.00514/0.8895, allocations: 3.029 MB / 1.221 GB, free: 0.5039 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches