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.001321/0.001321, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.00143/0.00143, allocations: 161 kB / 24.17 MB, free: 332 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.9126/0.9126, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.816/1.816, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.112e-06/1.112e-06, allocations: 0 / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.332e-05, allocations: 2.312 kB / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00109/0.001103, allocations: 0.6281 MB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 5.151e-05/0.001155, allocations: 7.984 kB / 0.7606 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.373e-05/0.001169, allocations: 0.5625 kB / 0.7606 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.001189, allocations: 1.438 kB / 0.7606 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-06/0.001194, allocations: 0 / 0.7606 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.115e-05/0.001225, allocations: 5.094 kB / 0.7606 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.819e-05/0.001263, allocations: 0 / 0.7606 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.81e-05/0.001292, allocations: 0 / 0.7606 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.431e-05/0.001316, allocations: 2.125 kB / 0.7606 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.001334, allocations: 0 / 0.7606 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.001345, allocations: 4 kB / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-06/0.001348, allocations: 0 / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.001359, allocations: 2.484 kB / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.889e-06/0.001369, allocations: 0 / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 3.989e-05/0.001409, allocations: 0 / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.00141, allocations: 4.906 kB / 0.7606 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.282e-06/0.001412, allocations: 3.984 kB / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.001414, allocations: 0 / 0.7606 GB, free: 6.055 MB / 0.7136 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.0001491/0.001563, allocations: 209.7 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.001593, allocations: 12.03 kB / 0.7608 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.656e-05/0.00161, allocations: 1.625 kB / 0.7608 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.819e-05/0.001658, allocations: 110.4 kB / 0.7609 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.001665, allocations: 2.156 kB / 0.7609 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.001673, allocations: 4.375 kB / 0.7609 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.962e-05/0.001722, allocations: 30.25 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-06/0.001726, allocations: 192 / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-06/0.001731, allocations: 384 / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.001735, allocations: 1.844 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.216e-06/0.001743, allocations: 8.562 kB / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.399e-05/0.001797, allocations: 56.98 kB / 0.761 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.798e-05/0.001825, allocations: 20.67 kB / 0.761 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.001837, allocations: 4.859 kB / 0.761 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-06/0.001842, allocations: 0 / 0.761 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.001858, allocations: 34.62 kB / 0.7611 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.001859, allocations: 0.75 kB / 0.7611 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 6.605e-05/0.001925, allocations: 43.36 kB / 0.7611 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.001951, allocations: 51.41 kB / 0.7612 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.329e-05/0.001974, allocations: 90.58 kB / 0.7613 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-06/0.001982, allocations: 25.7 kB / 0.7613 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.001999, allocations: 82.33 kB / 0.7614 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.00202, allocations: 0 / 0.7614 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.002043, allocations: 13.72 kB / 0.7614 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.00211, allocations: 314.8 kB / 0.7617 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-06/0.002114, allocations: 0 / 0.7617 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-06/0.002118, allocations: 4.547 kB / 0.7617 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.772e-05/0.002136, allocations: 6.422 kB / 0.7617 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.002137, allocations: 0 / 0.7617 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.951e-05/0.002166, allocations: 37.62 kB / 0.7617 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.002175, allocations: 9.25 kB / 0.7617 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.002179, allocations: 1.531 kB / 0.7617 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.002187, allocations: 0 / 0.7617 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.002222, allocations: 5.188 kB / 0.7617 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.002225, allocations: 4 kB / 0.7617 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-06/0.002231, allocations: 0 / 0.7617 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-06/0.002234, allocations: 2.812 kB / 0.7617 GB, free: 4.758 MB / 0.7136 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 4.515e-05/0.002279, allocations: 113.8 kB / 0.7619 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-06/0.002282, allocations: 0 / 0.7619 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.204e-05/0.002294, allocations: 14.98 kB / 0.7619 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-07/0.002295, allocations: 0 / 0.7619 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.002296, allocations: 0 / 0.7619 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.002298, allocations: 0 / 0.7619 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.705e-05/0.002335, allocations: 64.59 kB / 0.7619 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-07/0.002335, allocations: 0 / 0.7619 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-06/0.002339, allocations: 4.875 kB / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-07/0.00234, allocations: 0 / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-06/0.002343, allocations: 0 / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-07/0.002343, allocations: 0 / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.002344, allocations: 0 / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.76e-05/0.002381, allocations: 65.84 kB / 0.762 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-06/0.002384, allocations: 0 / 0.762 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-06/0.002389, allocations: 0 / 0.762 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-06/0.002392, allocations: 1.984 kB / 0.762 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-06/0.002399, allocations: 0 / 0.762 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-07/0.0024, allocations: 4 kB / 0.762 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.43e-06/0.002405, allocations: 5.734 kB / 0.762 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.002406, allocations: 0 / 0.762 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of remove unused functions: time 8.396e-05/0.002489, allocations: 0.5625 kB / 0.762 GB, free: 4.449 MB / 0.7136 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 5.257e-05/0.002542, allocations: 79.84 kB / 0.7621 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.561e-05/0.002578, allocations: 8.859 kB / 0.7621 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.002581, allocations: 4 kB / 0.7621 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.002586, allocations: 13.67 kB / 0.7621 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.903e-05/0.002625, allocations: 11.88 kB / 0.7621 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001245/0.002749, allocations: 78.64 kB / 0.7622 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.26e-05/0.002772, allocations: 54.3 kB / 0.7622 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.248e-06/0.002781, allocations: 3.984 kB / 0.7622 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.002807, allocations: 55.39 kB / 0.7623 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.002807, allocations: 0 / 0.7623 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of Templates: time 0.001275/0.004082, allocations: 206.8 kB / 0.7625 GB, free: 3.887 MB / 0.7136 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: 4.6176218977198005]