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.001901/0.001901, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002294/0.002294, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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.486/1.486, allocations: 177.2 MB / 203.9 MB, free: 5.602 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 2.851/2.851, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.912e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003516/0.003545, allocations: 1.774 MB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.004852, allocations: 0.594 MB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.004911, allocations: 0 / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.005113, allocations: 40.69 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.005472, allocations: 111.4 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.005851, allocations: 160.5 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.006196, allocations: 227.4 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.006312, allocations: 26.8 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.006518, allocations: 139.7 kB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007122/0.01364, allocations: 1.208 MB / 0.8149 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.01369, allocations: 20 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.01379, allocations: 31.94 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.01387, allocations: 39.83 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.01398, allocations: 67.8 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.01439, allocations: 231.2 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.01439, allocations: 0.5625 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01439, allocations: 0.6875 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.0144, allocations: 0 / 0.8153 GB, free: 13.97 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.0008419/0.01524, allocations: 478.2 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01527, allocations: 13.56 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.768e-05/0.01537, allocations: 28.83 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.01568, allocations: 190.8 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.0157, allocations: 12.55 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.01574, allocations: 21.28 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.01595, allocations: 93.66 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.01596, allocations: 0 / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.01598, allocations: 5.234 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.01598, allocations: 4 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.01611, allocations: 59.84 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.01695, allocations: 378.3 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.01712, allocations: 71.3 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.01718, allocations: 32.84 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.0172, allocations: 0.5312 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.01738, allocations: 104 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.01738, allocations: 0 / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0003646/0.01775, allocations: 145.5 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.0178, allocations: 59.41 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.01803, allocations: 186.2 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.01807, allocations: 33.7 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.01819, allocations: 128.5 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.01823, allocations: 36.67 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.01833, allocations: 53.67 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.01852, allocations: 335.3 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.01859, allocations: 31.98 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.01896, allocations: 238.6 kB / 0.8179 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.01913, allocations: 107.1 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01913, allocations: 0 / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002848/0.01941, allocations: 157.8 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01943, allocations: 4 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.01944, allocations: 5.594 kB / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.01945, allocations: 0 / 0.8182 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.01955, allocations: 23.92 kB / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01956, allocations: 0 / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.01977, allocations: 32.78 kB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.01978, allocations: 4 kB / 0.8183 GB, free: 10.72 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.000149/0.01993, allocations: 140.9 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.01997, allocations: 23.86 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.02021, allocations: 127.1 kB / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.02021, allocations: 0 / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.02022, allocations: 4 kB / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.02022, allocations: 0 / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.02083, allocations: 386 kB / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02083, allocations: 0 / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.02087, allocations: 4.5 kB / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.02087, allocations: 5.938 kB / 0.8189 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.02089, allocations: 7.922 kB / 0.8189 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.02089, allocations: 4 kB / 0.8189 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.02089, allocations: 0 / 0.8189 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.02117, allocations: 226.6 kB / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.02124, allocations: 32.95 kB / 0.8192 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.02126, allocations: 7.922 kB / 0.8192 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.02137, allocations: 4 kB / 0.8192 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.02144, allocations: 24.56 kB / 0.8192 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.02146, allocations: 6.25 kB / 0.8192 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001557/0.02161, allocations: 144.3 kB / 0.8194 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02161, allocations: 0 / 0.8194 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003139/0.02193, allocations: 39.95 kB / 0.8194 GB, free: 9.508 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.0004315/0.02236, allocations: 171.2 kB / 0.8196 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.02259, allocations: 88.95 kB / 0.8196 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.02259, allocations: 0 / 0.8196 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.02268, allocations: 40.98 kB / 0.8197 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.02307, allocations: 46.56 kB / 0.8197 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.02373, allocations: 308.1 kB / 0.82 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.02386, allocations: 113.5 kB / 0.8201 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.059e-05/0.02394, allocations: 31.11 kB / 0.8202 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.02399, allocations: 20.5 kB / 0.8202 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of SimCode: time 3.61e-07/0.02399, allocations: 0 / 0.8202 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of Templates: time 0.008324/0.03232, allocations: 3.562 MB / 0.8237 GB, free: 5.195 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] 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: 7.757634353009053]