Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.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.0009999/0.0009999, 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.001184/0.001184, allocations: 181 kB / 24.09 MB, free: 416 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.9821/0.9821, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.968/1.968, allocations: 377.9 MB / 0.6239 GB, free: 8.398 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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.057e-05, allocations: 2.312 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001198/0.001218, allocations: 0.6125 MB / 0.8126 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.414e-05/0.001262, allocations: 5 kB / 0.8126 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.00128, allocations: 0 / 0.8126 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.00131, allocations: 3.938 kB / 0.8126 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.012e-05/0.00132, allocations: 1.594 kB / 0.8126 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.542e-05/0.001356, allocations: 0 / 0.8126 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.516e-05/0.001401, allocations: 5.344 kB / 0.8126 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.001438, allocations: 7.984 kB / 0.8126 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.001471, allocations: 0.7656 kB / 0.8126 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.228e-05/0.001493, allocations: 0 / 0.8126 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.001508, allocations: 1.594 kB / 0.8126 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.965e-06/0.001511, allocations: 0 / 0.8126 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.001524, allocations: 0 / 0.8126 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.001539, allocations: 4.547 kB / 0.8126 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.321e-05/0.001593, allocations: 5.672 kB / 0.8126 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.001595, allocations: 3.938 kB / 0.8126 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.91e-07/0.001595, allocations: 0 / 0.8126 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.001598, allocations: 0 / 0.8126 GB, free: 0.8398 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002092/0.001807, allocations: 340.4 kB / 0.8129 GB, free: 480 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.001843, allocations: 8.938 kB / 0.8129 GB, free: 472 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.001862, allocations: 4.938 kB / 0.8129 GB, free: 468 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.28e-05/0.001915, allocations: 105.2 kB / 0.813 GB, free: 336 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-06/0.001923, allocations: 384 / 0.813 GB, free: 336 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-06/0.001928, allocations: 1 kB / 0.813 GB, free: 336 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.382e-05/0.001982, allocations: 34.73 kB / 0.8131 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.001988, allocations: 5.422 kB / 0.8131 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-06/0.001993, allocations: 384 / 0.8131 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.001997, allocations: 384 / 0.8131 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.365e-06/0.002006, allocations: 4.469 kB / 0.8131 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.262e-05/0.002078, allocations: 93.27 kB / 0.8132 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 2.853e-05/0.002107, allocations: 28.44 kB / 0.8132 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.002124, allocations: 15.77 kB / 0.8132 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.002135, allocations: 0 / 0.8132 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.002155, allocations: 38.48 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.002156, allocations: 0 / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 9.19e-05/0.002247, allocations: 30.77 kB / 0.8133 GB, free: 24 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.002282, allocations: 51.41 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.245e-05/0.002315, allocations: 142.2 kB / 0.8135 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.002323, allocations: 30.55 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.002348, allocations: 126.9 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.002369, allocations: 0.8438 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.002388, allocations: 15.38 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.002491, allocations: 0.4974 MB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-06/0.002498, allocations: 4 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/0.002503, allocations: 0 / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/0.002526, allocations: 16.47 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.002527, allocations: 0 / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.446e-05/0.002562, allocations: 30.86 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.002573, allocations: 4 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.002577, allocations: 1.375 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.002587, allocations: 0 / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.758e-05/0.002624, allocations: 7.938 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-06/0.002626, allocations: 0 / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-06/0.002633, allocations: 1.844 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-06/0.002636, allocations: 0 / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.539e-05/0.002691, allocations: 164.5 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-06/0.002694, allocations: 0 / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.456e-05/0.002709, allocations: 5.844 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.00271, allocations: 0 / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.002712, allocations: 0 / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.002714, allocations: 3.938 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.624e-05/0.00276, allocations: 101.2 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.002761, allocations: 0 / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.002765, allocations: 0 / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.002767, allocations: 4.5 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-06/0.00277, allocations: 0 / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.00277, allocations: 0.5 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.002772, allocations: 9.922 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.445e-05/0.002816, allocations: 68.39 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-06/0.00282, allocations: 0 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-06/0.002825, allocations: 4 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-06/0.002828, allocations: 0 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-06/0.002835, allocations: 0.9062 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.002837, allocations: 0 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.002861, allocations: 119.8 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.002861, allocations: 0 / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001055/0.002966, allocations: 0.6562 kB / 0.8146 GB, free: 14.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 7.174e-05/0.003038, allocations: 106 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.751e-05/0.003086, allocations: 11.69 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.003087, allocations: 0 / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.003092, allocations: 7.688 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.234e-05/0.003174, allocations: 7.938 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001331/0.003307, allocations: 82.81 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.454e-05/0.003332, allocations: 55.34 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.248e-06/0.003341, allocations: 0 / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.003368, allocations: 70.2 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.003369, allocations: 0 / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.001294/0.004663, allocations: 205.8 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.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.046016552019864]