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.00145/0.00145, 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.001645/0.001645, allocations: 161 kB / 23.81 MB, free: 0.7539 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 1.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.851/1.851, allocations: 359 MB / 0.6052 GB, free: 11.03 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.753e-06/1.753e-06, allocations: 0 / 0.787 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.589e-05, allocations: 5.734 kB / 0.787 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001229/0.001255, allocations: 0.6122 MB / 0.7876 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.436e-05/0.0013, allocations: 8 kB / 0.7877 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.001314, allocations: 0.6562 kB / 0.7877 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.00134, allocations: 0 / 0.7877 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.001346, allocations: 0.5938 kB / 0.7877 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.154e-05/0.001377, allocations: 1.344 kB / 0.7877 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.555e-05/0.001423, allocations: 3.984 kB / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.001458, allocations: 0 / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.001485, allocations: 7.984 kB / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.734e-05/0.001502, allocations: 1.531 kB / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.001514, allocations: 0 / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-06/0.001518, allocations: 0 / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.001528, allocations: 0 / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.001543, allocations: 1.469 kB / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 4.464e-05/0.001588, allocations: 0 / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00159, allocations: 0 / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.001591, allocations: 0 / 0.7877 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.001595, allocations: 7.25 kB / 0.7877 GB, free: 11.94 MB / 0.7448 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.000201/0.001796, allocations: 336.3 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.001828, allocations: 12.06 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.001849, allocations: 0.9375 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.921e-05/0.001898, allocations: 108.6 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.001906, allocations: 384 / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.001915, allocations: 4.375 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.363e-05/0.001968, allocations: 30.27 kB / 0.7881 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.001975, allocations: 192 / 0.7881 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.001981, allocations: 5.281 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.001986, allocations: 384 / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.036e-05/0.001997, allocations: 8.469 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.797e-05/0.002075, allocations: 108.6 kB / 0.7883 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.138e-05/0.002106, allocations: 31.75 kB / 0.7883 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.002123, allocations: 9.188 kB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.002129, allocations: 3.984 kB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.002147, allocations: 37.45 kB / 0.7883 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.002149, allocations: 0.625 kB / 0.7883 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 7.411e-05/0.002223, allocations: 38.61 kB / 0.7884 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.002245, allocations: 51.41 kB / 0.7884 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.307e-05/0.002278, allocations: 142.2 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.002285, allocations: 26.45 kB / 0.7886 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.002313, allocations: 126.9 kB / 0.7887 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.002331, allocations: 0.5938 kB / 0.7887 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.00235, allocations: 20.72 kB / 0.7887 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.002452, allocations: 496.1 kB / 0.7892 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-06/0.002459, allocations: 3.984 kB / 0.7892 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-06/0.002463, allocations: 4 kB / 0.7892 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.826e-05/0.002481, allocations: 13.22 kB / 0.7892 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.002482, allocations: 0 / 0.7892 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.853e-05/0.002511, allocations: 39.77 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.002519, allocations: 4 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-06/0.002521, allocations: 0 / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.002527, allocations: 0 / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.023e-05/0.002557, allocations: 4 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.002562, allocations: 0 / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-06/0.002569, allocations: 4.438 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.002573, allocations: 0 / 0.7893 GB, free: 10.11 MB / 0.7448 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.438e-05/0.002627, allocations: 159.2 kB / 0.7894 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-06/0.002632, allocations: 4.344 kB / 0.7894 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.002655, allocations: 3 kB / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.002657, allocations: 0 / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.00266, allocations: 0 / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.002662, allocations: 0 / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.868e-05/0.002711, allocations: 114.3 kB / 0.7895 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.002711, allocations: 3.938 kB / 0.7895 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-06/0.002717, allocations: 4 kB / 0.7895 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.002718, allocations: 0 / 0.7895 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.002722, allocations: 0 / 0.7895 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.002722, allocations: 0.5 kB / 0.7895 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.002724, allocations: 4.547 kB / 0.7896 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.003032, allocations: 77.81 kB / 0.7896 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-06/0.003035, allocations: 0 / 0.7896 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-06/0.003042, allocations: 0 / 0.7896 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-06/0.003048, allocations: 4 kB / 0.7896 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.00306, allocations: 8.516 kB / 0.7896 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-07/0.003061, allocations: 0 / 0.7896 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.003085, allocations: 121.2 kB / 0.7898 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003085, allocations: 0 / 0.7898 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001139/0.003199, allocations: 7.984 kB / 0.7898 GB, free: 9.551 MB / 0.7448 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.491e-05/0.003264, allocations: 99.19 kB / 0.7899 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.67e-05/0.003321, allocations: 8.75 kB / 0.7899 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.003322, allocations: 0 / 0.7899 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-06/0.003329, allocations: 16.5 kB / 0.7899 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.428e-05/0.003424, allocations: 0.8438 kB / 0.7899 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001704/0.003594, allocations: 87.95 kB / 0.79 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.698e-05/0.003621, allocations: 56.25 kB / 0.79 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.167e-06/0.00363, allocations: 0 / 0.79 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.003648, allocations: 8.5 kB / 0.79 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.003648, allocations: 3.781 kB / 0.79 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.001464/0.005112, allocations: 186.8 kB / 0.7902 GB, free: 9.035 MB / 0.7448 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: 5.2204064331017435]