Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001253/0.001253, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001402/0.001402, allocations: 169 kB / 23.02 MB, free: 1.551 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.993/0.993, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.078/2.078, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.363e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001308/0.001332, allocations: 0.6121 MB / 0.8787 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.484e-05/0.001377, allocations: 8.891 kB / 0.8787 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.001393, allocations: 4 kB / 0.8787 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.00142, allocations: 1.25 kB / 0.8787 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.001426, allocations: 0 / 0.8787 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.184e-05/0.001458, allocations: 0.75 kB / 0.8787 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.693e-05/0.001505, allocations: 0 / 0.8787 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.001547, allocations: 9.078 kB / 0.8787 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.001575, allocations: 4.766 kB / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.454e-05/0.0016, allocations: 0 / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.001613, allocations: 0.6562 kB / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-06/0.001617, allocations: 0 / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.00163, allocations: 2.094 kB / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.001647, allocations: 0 / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.127e-05/0.001698, allocations: 0 / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.001701, allocations: 0.9688 kB / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.001702, allocations: 0 / 0.8787 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.001706, allocations: 0.7656 kB / 0.8788 GB, free: 5.742 MB / 0.8386 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.0002203/0.001926, allocations: 337.5 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.001965, allocations: 12.03 kB / 0.8791 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.001992, allocations: 0.9375 kB / 0.8791 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.348e-05/0.002045, allocations: 109.8 kB / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.002054, allocations: 384 / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.002064, allocations: 4.312 kB / 0.8792 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.324e-05/0.002127, allocations: 32.12 kB / 0.8792 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.002134, allocations: 192 / 0.8792 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.002141, allocations: 1.406 kB / 0.8792 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.002147, allocations: 384 / 0.8792 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.239e-05/0.002159, allocations: 7.938 kB / 0.8792 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.403e-05/0.002243, allocations: 109.3 kB / 0.8793 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.002413, allocations: 23.06 kB / 0.8794 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.002436, allocations: 21.91 kB / 0.8794 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.002442, allocations: 0 / 0.8794 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.002461, allocations: 33.39 kB / 0.8794 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.002461, allocations: 4.531 kB / 0.8794 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001064/0.002568, allocations: 31.14 kB / 0.8794 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.002596, allocations: 51.41 kB / 0.8795 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.002639, allocations: 143 kB / 0.8796 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.002649, allocations: 26.86 kB / 0.8797 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.00268, allocations: 130.9 kB / 0.8798 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.00271, allocations: 4.297 kB / 0.8798 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.002738, allocations: 24.75 kB / 0.8798 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.002859, allocations: 496.1 kB / 0.8803 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.002871, allocations: 3.938 kB / 0.8803 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.002877, allocations: 0.5469 kB / 0.8803 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.002905, allocations: 19.12 kB / 0.8803 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.002907, allocations: 0 / 0.8803 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.749e-05/0.002954, allocations: 29.7 kB / 0.8803 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.00297, allocations: 8 kB / 0.8803 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.002975, allocations: 0.875 kB / 0.8803 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.00299, allocations: 3.984 kB / 0.8803 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.003043, allocations: 0 / 0.8803 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.003048, allocations: 0 / 0.8803 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-06/0.003057, allocations: 9.031 kB / 0.8804 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.003062, allocations: 0 / 0.8804 GB, free: 3.914 MB / 0.8386 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 6.693e-05/0.003129, allocations: 160.7 kB / 0.8805 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-06/0.003134, allocations: 4 kB / 0.8805 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.003154, allocations: 6.938 kB / 0.8805 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.003156, allocations: 4 kB / 0.8805 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.003159, allocations: 0 / 0.8805 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.003163, allocations: 0 / 0.8805 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.928e-05/0.003222, allocations: 112.6 kB / 0.8806 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.003223, allocations: 0 / 0.8806 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/0.003233, allocations: 4 kB / 0.8806 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.003235, allocations: 0 / 0.8806 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.003241, allocations: 0 / 0.8806 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.003242, allocations: 0 / 0.8806 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003243, allocations: 4 kB / 0.8806 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.415e-05/0.003307, allocations: 72.39 kB / 0.8807 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-06/0.003314, allocations: 3.984 kB / 0.8807 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.003323, allocations: 0 / 0.8807 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-06/0.003326, allocations: 0 / 0.8807 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.00334, allocations: 7.938 kB / 0.8807 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.003342, allocations: 0 / 0.8807 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.003375, allocations: 119.2 kB / 0.8808 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.003375, allocations: 0 / 0.8808 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001181/0.003493, allocations: 0 / 0.8808 GB, free: 3.352 MB / 0.8386 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.44e-05/0.003557, allocations: 99.22 kB / 0.8809 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.083e-05/0.003618, allocations: 11.69 kB / 0.8809 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00362, allocations: 0 / 0.8809 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/0.003626, allocations: 11.69 kB / 0.8809 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.763e-05/0.003724, allocations: 6.344 kB / 0.881 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/0.003902, allocations: 80.83 kB / 0.881 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.003934, allocations: 59.3 kB / 0.8811 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.085e-05/0.003945, allocations: 128 / 0.8811 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.003963, allocations: 12.5 kB / 0.8811 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.003963, allocations: 0 / 0.8811 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of Templates: time 0.001511/0.005474, allocations: 196.9 kB / 0.8813 GB, free: 2.82 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.324300494976342]