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.0009246/0.0009246, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001205/0.001205, allocations: 181 kB / 24.09 MB, free: 420 kB / 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 0.9798/0.9798, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.908/1.908, allocations: 377.9 MB / 0.6239 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] 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.[0-9,]+.|sca1.y.[0-9,]+.",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.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.395e-05, allocations: 3.984 kB / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002204/0.002218, allocations: 1.828 MB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.003059, allocations: 0.5977 MB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.003119, allocations: 3.938 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.00326, allocations: 27.72 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.003505, allocations: 124.9 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.003715, allocations: 151.6 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.003933, allocations: 229.4 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.004026, allocations: 25.78 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006299/0.01032, allocations: 2.372 MB / 0.8172 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.01047, allocations: 95.73 kB / 0.8173 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.0105, allocations: 12 kB / 0.8173 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.01056, allocations: 37.33 kB / 0.8173 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.01061, allocations: 35.84 kB / 0.8174 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.01067, allocations: 63.8 kB / 0.8174 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.01091, allocations: 171.3 kB / 0.8176 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01092, allocations: 0.5312 kB / 0.8176 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01092, allocations: 1.188 kB / 0.8176 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.01092, allocations: 0 / 0.8176 GB, free: 12.68 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.0005481/0.01147, allocations: 0.5742 MB / 0.8181 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.0115, allocations: 13.41 kB / 0.8182 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.01156, allocations: 24.84 kB / 0.8182 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.01172, allocations: 185.1 kB / 0.8184 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.01173, allocations: 12.56 kB / 0.8184 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.01175, allocations: 17.09 kB / 0.8184 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.01185, allocations: 73.64 kB / 0.8185 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.01186, allocations: 0 / 0.8185 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.01186, allocations: 5.906 kB / 0.8185 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.01187, allocations: 0 / 0.8185 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.01191, allocations: 39.83 kB / 0.8185 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.01235, allocations: 390.6 kB / 0.8189 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.033e-05/0.01243, allocations: 62.97 kB / 0.8189 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.01246, allocations: 23.67 kB / 0.819 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.01248, allocations: 4.531 kB / 0.819 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.321e-05/0.01256, allocations: 83.17 kB / 0.819 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.01256, allocations: 4 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0001725/0.01273, allocations: 120.7 kB / 0.8192 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.01276, allocations: 55.41 kB / 0.8192 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.01288, allocations: 240.4 kB / 0.8194 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.01291, allocations: 34.61 kB / 0.8195 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.01298, allocations: 167.2 kB / 0.8196 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.01301, allocations: 40.5 kB / 0.8197 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.01308, allocations: 55.33 kB / 0.8197 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.01322, allocations: 0.5045 MB / 0.8202 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.01324, allocations: 12 kB / 0.8202 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.01338, allocations: 255.5 kB / 0.8205 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.16e-05/0.01346, allocations: 102 kB / 0.8206 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01346, allocations: 0 / 0.8206 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001196/0.01358, allocations: 127.9 kB / 0.8207 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.01359, allocations: 4 kB / 0.8207 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01359, allocations: 4 kB / 0.8207 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.0136, allocations: 0 / 0.8207 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.01366, allocations: 19.94 kB / 0.8207 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01367, allocations: 8.953 kB / 0.8207 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.01374, allocations: 27.89 kB / 0.8207 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.01375, allocations: 5.094 kB / 0.8208 GB, free: 9.145 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 7.654e-05/0.01383, allocations: 176.3 kB / 0.8209 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.01391, allocations: 28.86 kB / 0.8209 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.01402, allocations: 103.1 kB / 0.821 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01402, allocations: 4 kB / 0.8211 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01402, allocations: 1.125 kB / 0.8211 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01402, allocations: 3.984 kB / 0.8211 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.01429, allocations: 394.5 kB / 0.8214 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.01429, allocations: 0 / 0.8214 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.01431, allocations: 7.984 kB / 0.8214 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01431, allocations: 5.656 kB / 0.8214 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.01432, allocations: 7.938 kB / 0.8215 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01432, allocations: 0 / 0.8215 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01432, allocations: 3.938 kB / 0.8215 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.01443, allocations: 257.3 kB / 0.8217 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.01446, allocations: 23.89 kB / 0.8217 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.01447, allocations: 0 / 0.8217 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.01451, allocations: 11.94 kB / 0.8217 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.01455, allocations: 20.62 kB / 0.8218 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.01456, allocations: 7.984 kB / 0.8218 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.671e-05/0.01462, allocations: 165.5 kB / 0.8219 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01462, allocations: 0 / 0.8219 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001809/0.0148, allocations: 47.88 kB / 0.822 GB, free: 7.844 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.000229/0.01503, allocations: 170.2 kB / 0.8221 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01514, allocations: 73.75 kB / 0.8222 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.01514, allocations: 0.625 kB / 0.8222 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.01518, allocations: 44.06 kB / 0.8222 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.0154, allocations: 64.17 kB / 0.8223 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.01574, allocations: 281.8 kB / 0.8226 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.01578, allocations: 75.97 kB / 0.8226 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.01582, allocations: 21.42 kB / 0.8227 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.01608, allocations: 146.1 kB / 0.8228 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.01609, allocations: 0 / 0.8228 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of Templates: time 0.004952/0.02104, allocations: 3.713 MB / 0.8264 GB, free: 3.309 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2924961182288826]