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.001198/0.001198, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001153/0.001153, allocations: 162.7 kB / 24.87 MB, free: 8.891 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.9807/0.9807, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.885/1.885, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.793e-06/1.793e-06, allocations: 0 / 0.8127 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.476e-05, allocations: 3.188 kB / 0.8127 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003257/0.003281, allocations: 1.823 MB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008734/0.004155, allocations: 0.5988 MB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.004239, allocations: 5.469 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.00442, allocations: 27.73 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.004728, allocations: 123.3 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.005049, allocations: 157.4 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.005366, allocations: 231.4 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.005484, allocations: 21.8 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/0.01252, allocations: 2.376 MB / 0.818 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.01276, allocations: 96.39 kB / 0.8181 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.0128, allocations: 13 kB / 0.8181 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.01292, allocations: 28 kB / 0.8181 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.01299, allocations: 39.83 kB / 0.8181 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.408e-05/0.01306, allocations: 57.03 kB / 0.8182 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.0134, allocations: 179.3 kB / 0.8184 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.01341, allocations: 3.938 kB / 0.8184 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.294e-06/0.01341, allocations: 1.375 kB / 0.8184 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.01342, allocations: 0 / 0.8184 GB, free: 12.7 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.000648/0.01406, allocations: 0.5707 MB / 0.8189 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.0141, allocations: 8.031 kB / 0.8189 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.01417, allocations: 29.62 kB / 0.819 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.01437, allocations: 185.1 kB / 0.8191 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.01439, allocations: 13.12 kB / 0.8191 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.01441, allocations: 15.94 kB / 0.8192 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.01453, allocations: 74.48 kB / 0.8192 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01454, allocations: 3.938 kB / 0.8192 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.01455, allocations: 6 kB / 0.8192 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.01455, allocations: 0 / 0.8192 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.0146, allocations: 27.91 kB / 0.8193 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.01511, allocations: 395.2 kB / 0.8196 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.941e-05/0.01521, allocations: 63.03 kB / 0.8197 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.01523, allocations: 19.67 kB / 0.8197 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.01525, allocations: 3.938 kB / 0.8197 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.01536, allocations: 85.02 kB / 0.8198 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.01536, allocations: 1.812 kB / 0.8198 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0002384/0.0156, allocations: 116.9 kB / 0.8199 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.01564, allocations: 59.34 kB / 0.82 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.01577, allocations: 240.4 kB / 0.8202 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.01579, allocations: 33.7 kB / 0.8202 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.01587, allocations: 171.8 kB / 0.8204 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.0159, allocations: 32.28 kB / 0.8204 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.01597, allocations: 63.33 kB / 0.8205 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.0161, allocations: 0.5095 MB / 0.821 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.01612, allocations: 8 kB / 0.821 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.01632, allocations: 250 kB / 0.8212 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.0164, allocations: 95.44 kB / 0.8213 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01641, allocations: 3.688 kB / 0.8213 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001363/0.01654, allocations: 129.4 kB / 0.8215 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01656, allocations: 8 kB / 0.8215 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01656, allocations: 224 / 0.8215 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.01657, allocations: 4 kB / 0.8215 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.01664, allocations: 19.94 kB / 0.8215 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01665, allocations: 15.92 kB / 0.8215 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.092e-05/0.01673, allocations: 21.8 kB / 0.8215 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.01674, allocations: 4 kB / 0.8215 GB, free: 9.176 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.297e-05/0.01683, allocations: 184.3 kB / 0.8217 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.01685, allocations: 23.86 kB / 0.8217 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.01698, allocations: 112.1 kB / 0.8218 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01698, allocations: 48 / 0.8218 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01699, allocations: 3.984 kB / 0.8218 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01699, allocations: 1.062 kB / 0.8218 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.01737, allocations: 393.4 kB / 0.8222 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01737, allocations: 5.125 kB / 0.8222 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.0174, allocations: 7.984 kB / 0.8222 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.0174, allocations: 1.125 kB / 0.8222 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.0174, allocations: 0 / 0.8222 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01741, allocations: 4 kB / 0.8222 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.01741, allocations: 3.938 kB / 0.8222 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.01754, allocations: 264.5 kB / 0.8225 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.01757, allocations: 15.89 kB / 0.8225 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.01758, allocations: 9.344 kB / 0.8225 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.731e-05/0.01763, allocations: 7.938 kB / 0.8225 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.01767, allocations: 15.97 kB / 0.8225 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01769, allocations: 9.859 kB / 0.8225 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.01774, allocations: 164.2 kB / 0.8227 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01774, allocations: 0 / 0.8227 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001965/0.01794, allocations: 47.88 kB / 0.8227 GB, free: 7.871 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.0003706/0.01831, allocations: 172.9 kB / 0.8229 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01845, allocations: 83.44 kB / 0.823 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01845, allocations: 0.5938 kB / 0.823 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.0185, allocations: 39.67 kB / 0.823 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.01876, allocations: 58.05 kB / 0.8231 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.01918, allocations: 285.8 kB / 0.8234 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.01922, allocations: 79.97 kB / 0.8234 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.482e-05/0.01928, allocations: 21.42 kB / 0.8234 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.01942, allocations: 134.1 kB / 0.8236 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.01942, allocations: 0 / 0.8236 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of Templates: time 0.00532/0.02474, allocations: 3.757 MB / 0.8272 GB, free: 3.289 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.320019238628447]