Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 201 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.932/2.932, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] 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.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 59.91 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9348/0.9369, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003577/0.9405, allocations: 1.794 MB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.9417, allocations: 0.6137 MB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.9418, allocations: 4 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.942, allocations: 23.72 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.9424, allocations: 119.5 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.9428, allocations: 153 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.9432, allocations: 223.5 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.9433, allocations: 33.48 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.9434, allocations: 103.7 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005933/0.9494, allocations: 0.8139 MB / 1.278 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.253e-05/0.9494, allocations: 19.98 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.9496, allocations: 36 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.138e-05/0.9497, allocations: 43.78 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.9498, allocations: 91.55 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.9502, allocations: 211.1 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.9502, allocations: 4 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9502, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.9503, allocations: 0 / 1.278 GB, free: 0.4922 MB / 0.9669 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.001052/0.9513, allocations: 0.5472 MB / 1.279 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.9514, allocations: 12.03 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.566e-05/0.9515, allocations: 20.8 kB / 1.279 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.9518, allocations: 244.6 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.9519, allocations: 19.98 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.9519, allocations: 12 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.9521, allocations: 97.59 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.9521, allocations: 0 / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.9522, allocations: 4 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.9522, allocations: 3.938 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.9523, allocations: 51.97 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009407/0.9532, allocations: 472.4 kB / 1.28 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.9534, allocations: 70.55 kB / 1.28 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.9535, allocations: 28.84 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.9535, allocations: 4 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.9537, allocations: 103.3 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.9537, allocations: 0 / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0004026/0.9541, allocations: 149.9 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.9542, allocations: 55.39 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.9544, allocations: 194.3 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.9545, allocations: 33.7 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.9546, allocations: 120.5 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.9546, allocations: 31.75 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-05/0.9547, allocations: 61.67 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.9549, allocations: 326.8 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.9549, allocations: 27.98 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.9552, allocations: 128.5 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.9553, allocations: 105.1 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.9553, allocations: 0 / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002565/0.9556, allocations: 153.4 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.9556, allocations: 4 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.9556, allocations: 0 / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.9556, allocations: 7.938 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.9558, allocations: 23.92 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.9558, allocations: 4 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.9559, allocations: 27.81 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.956, allocations: 12 kB / 1.281 GB, free: 13.1 MB / 0.9825 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.0001414/0.9561, allocations: 134.4 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.9561, allocations: 15.91 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.9564, allocations: 135 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.9564, allocations: 0 / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9564, allocations: 4 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.9564, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.957, allocations: 458.3 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.957, allocations: 0 / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.957, allocations: 15.92 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.957, allocations: 0 / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.9571, allocations: 8 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9571, allocations: 0 / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9571, allocations: 3.938 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.9573, allocations: 215.4 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.9575, allocations: 101 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.9575, allocations: 4 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.9576, allocations: 12 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.9577, allocations: 19.97 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.9577, allocations: 4 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001355/0.9579, allocations: 142.1 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9579, allocations: 0 / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003116/0.9582, allocations: 43.94 kB / 1.282 GB, free: 11.71 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: 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.0004561/0.9586, allocations: 167.3 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.9589, allocations: 88.09 kB / 1.283 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9589, allocations: 4.062 kB / 1.283 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.959, allocations: 43.91 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.9594, allocations: 48.86 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.9601, allocations: 298.8 kB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.9605, allocations: 0.7241 MB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.144e-05/0.9606, allocations: 17.55 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.9606, allocations: 27.42 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of SimCode: time 4.7e-07/0.9606, allocations: 0 / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.008205/0.9688, allocations: 3.36 MB / 1.287 GB, free: 6.934 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.341866054106504]