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.0009769/0.0009769, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009984/0.0009984, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9668/0.9668, allocations: 177.1 MB / 204.2 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.869/1.869, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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.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.623e-06/1.623e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.479e-05, allocations: 3.344 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001241/0.001266, allocations: 0.6154 MB / 0.8121 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.04e-05/0.001306, allocations: 4.656 kB / 0.8121 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.333e-05/0.001319, allocations: 0 / 0.8121 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.001344, allocations: 4.781 kB / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.072e-06/0.00135, allocations: 0 / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 2.924e-05/0.00138, allocations: 0 / 0.8121 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.481e-05/0.001424, allocations: 5 kB / 0.8121 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.00146, allocations: 0 / 0.8121 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.001509, allocations: 1.031 kB / 0.8121 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.00153, allocations: 3.984 kB / 0.8121 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.001543, allocations: 0 / 0.8121 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-06/0.001547, allocations: 4.781 kB / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.001557, allocations: 0 / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.51e-05/0.001572, allocations: 1.688 kB / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.121e-05/0.001624, allocations: 0 / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.001626, allocations: 0 / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.62e-07/0.001627, allocations: 0 / 0.8121 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.001631, allocations: 0 / 0.8121 GB, free: 1.164 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.0002112/0.001842, allocations: 338 kB / 0.8124 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.001875, allocations: 8.031 kB / 0.8124 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.001901, allocations: 4.938 kB / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.002e-05/0.001951, allocations: 108.6 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.00196, allocations: 0.9688 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.001968, allocations: 384 / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.794e-05/0.002036, allocations: 35.14 kB / 0.8126 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.002043, allocations: 4.125 kB / 0.8126 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.002051, allocations: 1.969 kB / 0.8126 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.002057, allocations: 384 / 0.8126 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.132e-05/0.002068, allocations: 3.938 kB / 0.8126 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.859e-05/0.002157, allocations: 112.6 kB / 0.8127 GB, free: 472 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 3.146e-05/0.002188, allocations: 23.59 kB / 0.8127 GB, free: 436 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.002209, allocations: 12.5 kB / 0.8127 GB, free: 420 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.002214, allocations: 0.5312 kB / 0.8127 GB, free: 420 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.002233, allocations: 41.31 kB / 0.8128 GB, free: 368 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.002234, allocations: 1.656 kB / 0.8128 GB, free: 368 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 9.373e-05/0.002328, allocations: 29.7 kB / 0.8128 GB, free: 332 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.002354, allocations: 55.41 kB / 0.8129 GB, free: 264 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.002e-05/0.002394, allocations: 146.8 kB / 0.813 GB, free: 104 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/0.002403, allocations: 25.7 kB / 0.813 GB, free: 72 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.002444, allocations: 127.5 kB / 0.8132 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.00247, allocations: 0.7812 kB / 0.8132 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.002492, allocations: 19.38 kB / 0.8132 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.002598, allocations: 497.2 kB / 0.8136 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.002607, allocations: 0 / 0.8136 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-06/0.002611, allocations: 0 / 0.8136 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.002635, allocations: 20.98 kB / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.002637, allocations: 0 / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.921e-05/0.002676, allocations: 35.45 kB / 0.8137 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.002688, allocations: 4 kB / 0.8137 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.002692, allocations: 4 kB / 0.8137 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.002702, allocations: 0 / 0.8137 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.57e-05/0.002748, allocations: 0 / 0.8137 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.002753, allocations: 2.219 kB / 0.8137 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-06/0.002761, allocations: 4.281 kB / 0.8137 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.002766, allocations: 4 kB / 0.8137 GB, free: 15.34 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.419e-05/0.00282, allocations: 152.6 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-06/0.002825, allocations: 3.984 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.483e-05/0.00284, allocations: 9.719 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.002841, allocations: 0 / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.002845, allocations: 4 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.002848, allocations: 4 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.356e-05/0.002902, allocations: 120.5 kB / 0.814 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.002902, allocations: 0 / 0.814 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.002908, allocations: 0 / 0.814 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.002909, allocations: 0 / 0.814 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.002915, allocations: 9.469 kB / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.002915, allocations: 0 / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.002916, allocations: 0 / 0.814 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.134e-05/0.002967, allocations: 68.38 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-06/0.002971, allocations: 4.5 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-06/0.002977, allocations: 0.5625 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-06/0.00298, allocations: 1.375 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.002991, allocations: 0 / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.91e-07/0.002992, allocations: 0 / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.835e-05/0.00302, allocations: 127.1 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00302, allocations: 2.594 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001116/0.003132, allocations: 0 / 0.8142 GB, free: 14.79 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 6.772e-05/0.0032, allocations: 106 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.735e-05/0.003257, allocations: 15.69 kB / 0.8143 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.003259, allocations: 0 / 0.8143 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.003267, allocations: 12.22 kB / 0.8143 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.212e-05/0.003359, allocations: 1.125 kB / 0.8143 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/0.003518, allocations: 76.09 kB / 0.8144 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.56e-05/0.003544, allocations: 60.28 kB / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.977e-06/0.003553, allocations: 0 / 0.8145 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.003569, allocations: 8.5 kB / 0.8145 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.00357, allocations: 0.8438 kB / 0.8145 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of Templates: time 0.00143/0.005, allocations: 193.3 kB / 0.8147 GB, free: 14.26 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.0641903737559915]