Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002544/0.002544, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002834/0.002834, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.033/3.033, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.352e-06, allocations: 4 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/3.076e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003333/0.003364, allocations: 1.8 MB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004712, allocations: 0.5916 MB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.004794, allocations: 7.938 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.005079, allocations: 36.45 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.005464, allocations: 120.1 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.00586, allocations: 147.6 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.006184, allocations: 232.3 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.0063, allocations: 25.78 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.006507, allocations: 140.9 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008844/0.01535, allocations: 1.216 MB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.01541, allocations: 16 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.01553, allocations: 44.88 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.01561, allocations: 35.84 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.01572, allocations: 67.8 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.01613, allocations: 233 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01614, allocations: 4 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.153e-06/0.01614, allocations: 0 / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.01614, allocations: 0 / 0.8154 GB, free: 13.93 MB / 0.7761 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.0009253/0.01707, allocations: 0.5785 MB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.0171, allocations: 8.031 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.319e-05/0.0172, allocations: 25.41 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.01752, allocations: 181.8 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.01754, allocations: 10.03 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.01758, allocations: 19.94 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.01777, allocations: 89.59 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.01778, allocations: 0.5625 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.0178, allocations: 7.984 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.01781, allocations: 4.781 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.01794, allocations: 55.91 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/0.01887, allocations: 454 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.01905, allocations: 79.03 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.963e-05/0.01911, allocations: 40.5 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.01914, allocations: 0.5 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.01932, allocations: 102.2 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.01932, allocations: 0 / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0003533/0.01967, allocations: 144.9 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.01972, allocations: 55.94 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.02002, allocations: 276.4 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.02005, allocations: 30.92 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.02019, allocations: 175.3 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.02024, allocations: 39.67 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.02037, allocations: 64.16 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.02065, allocations: 0.5117 MB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.02072, allocations: 32.88 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.02109, allocations: 265.8 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.02127, allocations: 112.3 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02127, allocations: 0 / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002976/0.02157, allocations: 155.5 kB / 0.8187 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.02159, allocations: 8 kB / 0.8187 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.02159, allocations: 0 / 0.8187 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.02161, allocations: 8.625 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.02172, allocations: 20 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.02173, allocations: 7.422 kB / 0.8188 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.02191, allocations: 23.83 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.02193, allocations: 8 kB / 0.8188 GB, free: 10.1 MB / 0.7761 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.0001656/0.02209, allocations: 184.3 kB / 0.819 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.02214, allocations: 27.86 kB / 0.819 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.02239, allocations: 122.2 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.02239, allocations: 0 / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.02239, allocations: 3.938 kB / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.0224, allocations: 8.547 kB / 0.8191 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.02304, allocations: 453.8 kB / 0.8196 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.02304, allocations: 1.344 kB / 0.8196 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/0.02308, allocations: 11.94 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.02309, allocations: 0 / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.0231, allocations: 3.938 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0231, allocations: 0.7812 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.0231, allocations: 0 / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.02341, allocations: 272.4 kB / 0.8199 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.02348, allocations: 23.89 kB / 0.8199 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.02351, allocations: 13.03 kB / 0.8199 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.02362, allocations: 11.98 kB / 0.8199 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.02368, allocations: 16.62 kB / 0.8199 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.0237, allocations: 7.938 kB / 0.8199 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001669/0.02387, allocations: 189.9 kB / 0.8201 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02387, allocations: 0 / 0.8201 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003246/0.0242, allocations: 47.89 kB / 0.8202 GB, free: 8.664 MB / 0.7761 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.0005394/0.02474, allocations: 167.4 kB / 0.8203 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.02498, allocations: 96.61 kB / 0.8204 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02498, allocations: 0 / 0.8204 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.02509, allocations: 56.72 kB / 0.8205 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.02549, allocations: 50.78 kB / 0.8205 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.02618, allocations: 301.8 kB / 0.8208 GB, free: 8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.0263, allocations: 116.1 kB / 0.8209 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.312e-05/0.02637, allocations: 17.48 kB / 0.8209 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.02644, allocations: 28.48 kB / 0.8209 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.02644, allocations: 3.938 kB / 0.821 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of Templates: time 0.0087/0.03514, allocations: 3.554 MB / 0.8244 GB, free: 4.332 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.179972519981675]