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.001013/0.001013, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001035/0.001035, allocations: 169 kB / 24.28 MB, free: 276 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.9914/0.9914, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.854/1.854, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.232e-06/1.232e-06, allocations: 0 / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.54e-05, allocations: 3.438 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002286/0.002312, allocations: 1.828 MB / 0.8133 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008526/0.003164, allocations: 0.6026 MB / 0.8139 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.003235, allocations: 0.7812 kB / 0.8139 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.003391, allocations: 31.67 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.003675, allocations: 125.1 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.003923, allocations: 147.6 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.004388, allocations: 231.4 kB / 0.8144 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004492, allocations: 23.33 kB / 0.8144 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.004614, allocations: 139.7 kB / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.007707, allocations: 1.225 MB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.00774, allocations: 16.72 kB / 0.8157 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.919e-05/0.00781, allocations: 39.92 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.00786, allocations: 40.39 kB / 0.8158 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.007924, allocations: 59.81 kB / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.008172, allocations: 188.7 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.008175, allocations: 4 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.008176, allocations: 3.938 kB / 0.8161 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.008181, allocations: 0 / 0.8161 GB, free: 13.92 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.0005523/0.008733, allocations: 0.5681 MB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.008764, allocations: 12.03 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.008828, allocations: 24.84 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.009037, allocations: 194.9 kB / 0.8168 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.009052, allocations: 13.09 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.009076, allocations: 24.64 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.009191, allocations: 69.66 kB / 0.8169 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.009198, allocations: 0.5312 kB / 0.8169 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.00921, allocations: 8 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.009217, allocations: 1.625 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.149e-05/0.009278, allocations: 35.91 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.009801, allocations: 436.8 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.009908, allocations: 63.77 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.009942, allocations: 25.05 kB / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.00996, allocations: 3.938 kB / 0.8175 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.01006, allocations: 89.03 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.01007, allocations: 0.7188 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.000224/0.01029, allocations: 129.8 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.01032, allocations: 55.34 kB / 0.8178 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.01048, allocations: 252.4 kB / 0.818 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.0105, allocations: 26.83 kB / 0.818 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.01057, allocations: 175.3 kB / 0.8182 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.0106, allocations: 35.72 kB / 0.8182 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.01066, allocations: 60.17 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.01078, allocations: 0.504 MB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.733e-05/0.01082, allocations: 22.2 kB / 0.8188 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.01101, allocations: 241.6 kB / 0.819 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.489e-05/0.0111, allocations: 108.8 kB / 0.8191 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01111, allocations: 0 / 0.8191 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001566/0.01126, allocations: 133.5 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01128, allocations: 8 kB / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.01128, allocations: 0 / 0.8193 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.0113, allocations: 5.562 kB / 0.8193 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.01137, allocations: 19.98 kB / 0.8193 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.01138, allocations: 7.938 kB / 0.8193 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.01147, allocations: 27.81 kB / 0.8193 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.01148, allocations: 4.625 kB / 0.8193 GB, free: 10.29 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 8.89e-05/0.01157, allocations: 177 kB / 0.8195 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.01159, allocations: 24.42 kB / 0.8195 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.01173, allocations: 122 kB / 0.8196 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01173, allocations: 1.844 kB / 0.8196 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01174, allocations: 0 / 0.8196 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.01174, allocations: 4 kB / 0.8196 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.01207, allocations: 433.1 kB / 0.8201 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01208, allocations: 5.344 kB / 0.8201 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.0121, allocations: 7.984 kB / 0.8201 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.0121, allocations: 0 / 0.8201 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.01211, allocations: 5.031 kB / 0.8201 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01211, allocations: 4 kB / 0.8201 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01211, allocations: 0 / 0.8201 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.01226, allocations: 264.4 kB / 0.8203 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.01229, allocations: 23.89 kB / 0.8203 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.0123, allocations: 4.656 kB / 0.8204 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.01235, allocations: 15.75 kB / 0.8204 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.0124, allocations: 11.97 kB / 0.8204 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.01242, allocations: 11.98 kB / 0.8204 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.634e-05/0.01249, allocations: 168.2 kB / 0.8206 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01249, allocations: 0 / 0.8206 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001981/0.01269, allocations: 51.88 kB / 0.8206 GB, free: 8.922 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.0002976/0.01299, allocations: 169.2 kB / 0.8208 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.01314, allocations: 80.66 kB / 0.8208 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01314, allocations: 0 / 0.8208 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.01319, allocations: 40.7 kB / 0.8209 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.01344, allocations: 53.83 kB / 0.8209 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.01388, allocations: 299.4 kB / 0.8212 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.01392, allocations: 75.97 kB / 0.8213 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.483e-05/0.01398, allocations: 21.48 kB / 0.8213 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.01402, allocations: 24.48 kB / 0.8213 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.01402, allocations: 0 / 0.8213 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of Templates: time 0.005324/0.01934, allocations: 3.562 MB / 0.8248 GB, free: 4.652 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.146211256971583]