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.001034/0.001034, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001171/0.001171, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9726/0.9726, allocations: 177.1 MB / 204.2 MB, free: 5.441 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.913/1.913, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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.[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 2.104e-06/2.104e-06, allocations: 0 / 0.8115 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.617e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003826/0.003862, allocations: 1.833 MB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.005183, allocations: 0.6106 MB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.005289, allocations: 0.7812 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.005529, allocations: 31.67 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.005987, allocations: 121.1 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.006383, allocations: 151.6 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003453/0.006728, allocations: 227.4 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.006867, allocations: 27.31 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.007115, allocations: 139.7 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/0.0112, allocations: 1.216 MB / 0.8157 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.01125, allocations: 16 kB / 0.8158 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.01134, allocations: 45.02 kB / 0.8158 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.01141, allocations: 35.84 kB / 0.8158 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.0115, allocations: 67.8 kB / 0.8159 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.01185, allocations: 180.9 kB / 0.8161 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01186, allocations: 0 / 0.8161 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.945e-06/0.01186, allocations: 4 kB / 0.8161 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.01187, allocations: 0 / 0.8161 GB, free: 13.61 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.0006555/0.01252, allocations: 0.5681 MB / 0.8166 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.01257, allocations: 12.03 kB / 0.8166 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.01264, allocations: 24.84 kB / 0.8167 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.01287, allocations: 202.9 kB / 0.8169 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.01288, allocations: 8.562 kB / 0.8169 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.01291, allocations: 24.64 kB / 0.8169 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.01304, allocations: 73.66 kB / 0.817 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.01305, allocations: 0.5312 kB / 0.817 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.01306, allocations: 9.656 kB / 0.817 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.01307, allocations: 0 / 0.817 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.596e-05/0.01313, allocations: 38.28 kB / 0.817 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.01374, allocations: 429.5 kB / 0.8174 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.01385, allocations: 70.98 kB / 0.8175 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.01388, allocations: 28.17 kB / 0.8175 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.01391, allocations: 1.031 kB / 0.8175 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.01402, allocations: 89.03 kB / 0.8176 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.714e-06/0.01402, allocations: 1.125 kB / 0.8176 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0002311/0.01425, allocations: 132.8 kB / 0.8177 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.01429, allocations: 56.19 kB / 0.8178 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.01444, allocations: 244.4 kB / 0.818 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.01447, allocations: 33.7 kB / 0.818 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.01455, allocations: 173.5 kB / 0.8182 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.01457, allocations: 35.72 kB / 0.8182 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.01464, allocations: 63.33 kB / 0.8183 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01477, allocations: 0.504 MB / 0.8188 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.01481, allocations: 15.98 kB / 0.8188 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.015, allocations: 239.6 kB / 0.819 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.0151, allocations: 112.7 kB / 0.8191 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01511, allocations: 0 / 0.8191 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001655/0.01527, allocations: 131 kB / 0.8193 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.01529, allocations: 8 kB / 0.8193 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.0153, allocations: 0.5 kB / 0.8193 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.01531, allocations: 4 kB / 0.8193 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.0154, allocations: 28.42 kB / 0.8193 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.0154, allocations: 1.875 kB / 0.8193 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.373e-05/0.0155, allocations: 27.81 kB / 0.8193 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.01551, allocations: 8 kB / 0.8193 GB, free: 9.965 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 9.025e-05/0.0156, allocations: 169.7 kB / 0.8195 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.01562, allocations: 31.8 kB / 0.8195 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.01578, allocations: 115.1 kB / 0.8196 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01578, allocations: 0 / 0.8196 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01578, allocations: 0.875 kB / 0.8196 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01579, allocations: 4.031 kB / 0.8196 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.01617, allocations: 429 kB / 0.8201 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01617, allocations: 3.688 kB / 0.8201 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.0162, allocations: 15.98 kB / 0.8201 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.0162, allocations: 0 / 0.8201 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.01621, allocations: 3.938 kB / 0.8201 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01621, allocations: 7.938 kB / 0.8201 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01621, allocations: 0 / 0.8201 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.01637, allocations: 259.8 kB / 0.8203 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.01641, allocations: 27.88 kB / 0.8204 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.01642, allocations: 7.938 kB / 0.8204 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.01648, allocations: 8 kB / 0.8204 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.01653, allocations: 17.75 kB / 0.8204 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.01654, allocations: 7.984 kB / 0.8204 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.15e-05/0.01663, allocations: 172.2 kB / 0.8206 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01663, allocations: 0 / 0.8206 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002174/0.01684, allocations: 48.81 kB / 0.8206 GB, free: 8.598 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.0003242/0.01717, allocations: 171.6 kB / 0.8208 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.01734, allocations: 85.98 kB / 0.8209 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01734, allocations: 0 / 0.8209 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.0174, allocations: 43.61 kB / 0.8209 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.01766, allocations: 44.38 kB / 0.8209 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.01812, allocations: 293.8 kB / 0.8212 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.649e-05/0.01817, allocations: 75.97 kB / 0.8213 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.682e-05/0.01824, allocations: 22.08 kB / 0.8213 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.01828, allocations: 25.02 kB / 0.8213 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of SimCode: time 7.62e-07/0.01828, allocations: 1.125 kB / 0.8213 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of Templates: time 0.005488/0.02377, allocations: 3.564 MB / 0.8248 GB, free: 4.32 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.306155491620302]