Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001259/0.001259, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001327/0.001327, allocations: 169.3 kB / 24.28 MB, free: 280 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.9739/0.9739, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.796/1.796, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.787 GB, free: 11.76 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.337e-05, allocations: 6.656 kB / 0.787 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001653/0.001677, allocations: 0.6103 MB / 0.7876 GB, free: 11.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 4.486e-05/0.001721, allocations: 5.281 kB / 0.7876 GB, free: 11.16 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.001739, allocations: 0 / 0.7876 GB, free: 11.16 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.001765, allocations: 3.938 kB / 0.7876 GB, free: 11.15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.001772, allocations: 0 / 0.7876 GB, free: 11.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.473e-05/0.001806, allocations: 0.5625 kB / 0.7876 GB, free: 11.15 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.239e-05/0.001859, allocations: 5.25 kB / 0.7877 GB, free: 11.15 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.001898, allocations: 0 / 0.7877 GB, free: 11.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.001927, allocations: 4 kB / 0.7877 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.055e-05/0.001947, allocations: 0 / 0.7877 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.001964, allocations: 0.9688 kB / 0.7877 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.377e-06/0.001967, allocations: 0 / 0.7877 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.00198, allocations: 0.5 kB / 0.7877 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.001997, allocations: 0 / 0.7877 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.355e-05/0.002051, allocations: 9.219 kB / 0.7877 GB, free: 11.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002052, allocations: 0 / 0.7877 GB, free: 11.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002053, allocations: 0 / 0.7877 GB, free: 11.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.002057, allocations: 4.562 kB / 0.7877 GB, free: 11.13 MB / 0.698 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.0002161/0.002274, allocations: 340.3 kB / 0.788 GB, free: 10.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.002319, allocations: 12.84 kB / 0.788 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.002355, allocations: 0.9375 kB / 0.788 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.534e-05/0.00242, allocations: 105.6 kB / 0.7881 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.00243, allocations: 384 / 0.7881 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.002437, allocations: 4.375 kB / 0.7881 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.671e-05/0.002514, allocations: 30.95 kB / 0.7881 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.00252, allocations: 2.719 kB / 0.7881 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.002527, allocations: 384 / 0.7881 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.002534, allocations: 384 / 0.7881 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.472e-05/0.002548, allocations: 11.92 kB / 0.7882 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.527e-05/0.002634, allocations: 104.6 kB / 0.7883 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.476e-05/0.002668, allocations: 31.09 kB / 0.7883 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.002689, allocations: 9.375 kB / 0.7883 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.002694, allocations: 0 / 0.7883 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.002715, allocations: 41.39 kB / 0.7883 GB, free: 10.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002715, allocations: 0 / 0.7883 GB, free: 10.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001005/0.002816, allocations: 30.3 kB / 0.7884 GB, free: 10.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.002844, allocations: 56.02 kB / 0.7884 GB, free: 10.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.452e-05/0.002878, allocations: 142.2 kB / 0.7886 GB, free: 10.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.002888, allocations: 26.73 kB / 0.7886 GB, free: 10.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.002914, allocations: 126.9 kB / 0.7887 GB, free: 9.914 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.002941, allocations: 4 kB / 0.7887 GB, free: 9.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.002962, allocations: 20.75 kB / 0.7887 GB, free: 9.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.00306, allocations: 496.1 kB / 0.7892 GB, free: 9.387 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-06/0.00307, allocations: 0 / 0.7892 GB, free: 9.387 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-06/0.003076, allocations: 5.844 kB / 0.7892 GB, free: 9.383 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.003106, allocations: 11.62 kB / 0.7892 GB, free: 9.367 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.003108, allocations: 0 / 0.7892 GB, free: 9.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.842e-05/0.003147, allocations: 37.7 kB / 0.7893 GB, free: 9.324 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.003162, allocations: 9.453 kB / 0.7893 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.003167, allocations: 3.938 kB / 0.7893 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.003178, allocations: 0 / 0.7893 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.725e-05/0.003225, allocations: 4.531 kB / 0.7893 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.003231, allocations: 3.984 kB / 0.7893 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-06/0.003238, allocations: 5.875 kB / 0.7893 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.003242, allocations: 0 / 0.7893 GB, free: 9.301 MB / 0.698 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.226e-05/0.003294, allocations: 152.6 kB / 0.7894 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-06/0.003298, allocations: 4 kB / 0.7894 GB, free: 9.137 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.003313, allocations: 5.562 kB / 0.7894 GB, free: 9.133 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.003314, allocations: 3.938 kB / 0.7894 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.003317, allocations: 0 / 0.7894 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.003319, allocations: 0 / 0.7894 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.71e-05/0.003366, allocations: 112.6 kB / 0.7895 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.003367, allocations: 0 / 0.7895 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.003376, allocations: 4 kB / 0.7895 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.003378, allocations: 0.5312 kB / 0.7895 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.003384, allocations: 4 kB / 0.7896 GB, free: 8.977 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.003384, allocations: 0.7188 kB / 0.7896 GB, free: 8.977 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.003385, allocations: 0 / 0.7896 GB, free: 8.977 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.201e-05/0.003437, allocations: 76.91 kB / 0.7896 GB, free: 8.879 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.003441, allocations: 1.656 kB / 0.7896 GB, free: 8.879 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-06/0.003448, allocations: 0 / 0.7896 GB, free: 8.879 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-06/0.003452, allocations: 4 kB / 0.7896 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.003463, allocations: 0 / 0.7896 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.003464, allocations: 0.5312 kB / 0.7896 GB, free: 8.875 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.563e-05/0.00349, allocations: 119.2 kB / 0.7897 GB, free: 8.758 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00349, allocations: 4.531 kB / 0.7898 GB, free: 8.754 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001125/0.003603, allocations: 0.7812 kB / 0.7898 GB, free: 8.754 MB / 0.698 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.291e-05/0.003675, allocations: 100.3 kB / 0.7898 GB, free: 8.648 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.971e-05/0.003745, allocations: 11.69 kB / 0.7899 GB, free: 8.633 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.003747, allocations: 0.9062 kB / 0.7899 GB, free: 8.633 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.003754, allocations: 15.67 kB / 0.7899 GB, free: 8.613 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.073e-05/0.003844, allocations: 0.7812 kB / 0.7899 GB, free: 8.613 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000181/0.004025, allocations: 85.19 kB / 0.79 GB, free: 8.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.562e-05/0.004061, allocations: 55.34 kB / 0.79 GB, free: 8.426 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.168e-05/0.004073, allocations: 0 / 0.79 GB, free: 8.426 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.004091, allocations: 13.28 kB / 0.79 GB, free: 8.414 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.004091, allocations: 0 / 0.79 GB, free: 8.414 MB / 0.698 GB Notification: Performance of Templates: time 0.00151/0.005601, allocations: 187.5 kB / 0.7902 GB, free: 8.234 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.930175987072289]