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.001904/0.001904, allocations: 92.7 kB / 19.44 MB, free: 324 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.001581/0.001581, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.463/1.463, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.23/3.23, allocations: 429.6 MB / 0.673 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 176] 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.773e-06/1.773e-06, allocations: 0 / 0.8775 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.408e-05, allocations: 3.156 kB / 0.8775 GB, free: 5.383 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002036/0.00207, allocations: 0.6008 MB / 0.8781 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 6.227e-05/0.002133, allocations: 3.938 kB / 0.8781 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.002153, allocations: 0 / 0.8781 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.002183, allocations: 1.125 kB / 0.8781 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-06/0.002191, allocations: 0.5469 kB / 0.8781 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.668e-05/0.002237, allocations: 0 / 0.8781 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.002298, allocations: 0.9688 kB / 0.8781 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.002343, allocations: 4 kB / 0.8781 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.002378, allocations: 1.469 kB / 0.8781 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.933e-05/0.002407, allocations: 0 / 0.8781 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.002422, allocations: 1.312 kB / 0.8781 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.002426, allocations: 0 / 0.8781 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.002448, allocations: 0 / 0.8781 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.00248, allocations: 8.547 kB / 0.8782 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.941e-05/0.002549, allocations: 13.12 kB / 0.8782 GB, free: 4.781 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.002551, allocations: 0.5469 kB / 0.8782 GB, free: 4.781 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002552, allocations: 0 / 0.8782 GB, free: 4.781 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.002556, allocations: 1.031 kB / 0.8782 GB, free: 4.781 MB / 0.7917 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.0003433/0.002899, allocations: 230.5 kB / 0.8784 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.002943, allocations: 9.562 kB / 0.8784 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.002986, allocations: 1.594 kB / 0.8784 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.003101, allocations: 105.8 kB / 0.8785 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.003115, allocations: 384 / 0.8785 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.003128, allocations: 8.297 kB / 0.8785 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.00323, allocations: 31.52 kB / 0.8785 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.003238, allocations: 192 / 0.8785 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.003246, allocations: 5.141 kB / 0.8785 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.003251, allocations: 1.312 kB / 0.8785 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.003273, allocations: 3.938 kB / 0.8785 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.003433, allocations: 100.7 kB / 0.8786 GB, free: 4.211 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.85e-05/0.003492, allocations: 18.61 kB / 0.8787 GB, free: 4.184 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.003521, allocations: 8.859 kB / 0.8787 GB, free: 4.172 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.003534, allocations: 4 kB / 0.8787 GB, free: 4.168 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.003578, allocations: 39.44 kB / 0.8787 GB, free: 4.121 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.003579, allocations: 0 / 0.8787 GB, free: 4.121 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.003735, allocations: 33.69 kB / 0.8787 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.003789, allocations: 51.53 kB / 0.8788 GB, free: 4.02 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.003849, allocations: 97.86 kB / 0.8789 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.00387, allocations: 25.7 kB / 0.8789 GB, free: 3.883 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.003922, allocations: 80.14 kB / 0.879 GB, free: 3.801 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.003955, allocations: 3.953 kB / 0.879 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.003995, allocations: 14.59 kB / 0.879 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.004178, allocations: 318.8 kB / 0.8793 GB, free: 3.457 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.00419, allocations: 3.938 kB / 0.8793 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.004195, allocations: 0 / 0.8793 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.004233, allocations: 8.859 kB / 0.8793 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.004235, allocations: 4.062 kB / 0.8793 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.643e-05/0.004312, allocations: 37.69 kB / 0.8794 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.004333, allocations: 8 kB / 0.8794 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.004338, allocations: 1.094 kB / 0.8794 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.004359, allocations: 0 / 0.8794 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.004415, allocations: 0 / 0.8794 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.004421, allocations: 0 / 0.8794 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.004439, allocations: 7.938 kB / 0.8794 GB, free: 3.379 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.004445, allocations: 3.938 kB / 0.8794 GB, free: 3.375 MB / 0.7917 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 9.782e-05/0.004542, allocations: 105.8 kB / 0.8795 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.00455, allocations: 4.031 kB / 0.8795 GB, free: 3.258 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.004573, allocations: 6.984 kB / 0.8795 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.004578, allocations: 4 kB / 0.8795 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.004583, allocations: 0.875 kB / 0.8795 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.004585, allocations: 0 / 0.8795 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.004685, allocations: 97.27 kB / 0.8796 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.004686, allocations: 0 / 0.8796 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.0047, allocations: 4 kB / 0.8796 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.004702, allocations: 0 / 0.8796 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.004708, allocations: 0 / 0.8796 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.00471, allocations: 0 / 0.8796 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.004711, allocations: 4.656 kB / 0.8796 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.529e-05/0.004806, allocations: 65.06 kB / 0.8797 GB, free: 3.031 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-06/0.00481, allocations: 0 / 0.8797 GB, free: 3.031 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.004823, allocations: 3.984 kB / 0.8797 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-06/0.00483, allocations: 3.938 kB / 0.8797 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.004845, allocations: 4 kB / 0.8797 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.004847, allocations: 224 / 0.8797 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.004889, allocations: 75.28 kB / 0.8797 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.004889, allocations: 3.938 kB / 0.8797 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001952/0.005085, allocations: 0 / 0.8797 GB, free: 2.941 MB / 0.7917 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 0.0001268/0.005211, allocations: 103.2 kB / 0.8798 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.383e-05/0.005285, allocations: 8 kB / 0.8799 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005287, allocations: 0 / 0.8799 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.276e-06/0.005295, allocations: 4 kB / 0.8799 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.005438, allocations: 5.812 kB / 0.8799 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.005666, allocations: 80.8 kB / 0.8799 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.523e-05/0.005722, allocations: 55.3 kB / 0.88 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.868e-06/0.005731, allocations: 0 / 0.88 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.005758, allocations: 16.62 kB / 0.88 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of SimCode: time 5.41e-07/0.005759, allocations: 0 / 0.88 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of Templates: time 0.002292/0.008051, allocations: 189.1 kB / 0.8802 GB, free: 2.434 MB / 0.7917 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.917778830975294]