Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006865/0.006865, allocations: 100.1 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 190.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.84 kB / 1.018 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8716/0.8728, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001667/0.8746, allocations: 0.5924 MB / 1.167 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.107e-05/0.8746, allocations: 4 kB / 1.167 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.826e-05/0.8746, allocations: 0 / 1.167 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.8747, allocations: 3.938 kB / 1.167 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.8747, allocations: 0 / 1.167 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.486e-05/0.8747, allocations: 3.938 kB / 1.167 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.563e-05/0.8748, allocations: 7.984 kB / 1.167 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.8748, allocations: 0 / 1.167 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.222e-05/0.8748, allocations: 8 kB / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.651e-05/0.8749, allocations: 0 / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.8749, allocations: 0 / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-06/0.8749, allocations: 0 / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.8749, allocations: 0 / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.8749, allocations: 0 / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 5.326e-05/0.875, allocations: 0 / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.875, allocations: 0 / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.875, allocations: 0 / 1.167 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.875, allocations: 0 / 1.167 GB, free: 3.27 MB / 0.8887 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.0002838/0.8753, allocations: 315.5 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.8753, allocations: 12.95 kB / 1.167 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.8754, allocations: 4.938 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/0.8755, allocations: 164.4 kB / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.8755, allocations: 384 / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.8755, allocations: 384 / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.204e-05/0.8756, allocations: 34.19 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8756, allocations: 4.188 kB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.8756, allocations: 11.81 kB / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8756, allocations: 0 / 1.168 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.8756, allocations: 4 kB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.8758, allocations: 141.7 kB / 1.168 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.634e-05/0.8758, allocations: 22.61 kB / 1.168 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.8758, allocations: 4.859 kB / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.8759, allocations: 4.062 kB / 1.168 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.8759, allocations: 38.48 kB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.8759, allocations: 4 kB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.876, allocations: 37.59 kB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.876, allocations: 51.41 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.435e-05/0.8761, allocations: 93.86 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.8761, allocations: 25.7 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.8761, allocations: 80.14 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.8762, allocations: 4 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.8762, allocations: 9.719 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8763, allocations: 315 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.8763, allocations: 0 / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.8763, allocations: 4 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.8764, allocations: 16.78 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8764, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.559e-05/0.8764, allocations: 33.7 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.8765, allocations: 4 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.8765, allocations: 0 / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.8765, allocations: 8.031 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.8765, allocations: 4 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.8765, allocations: 0 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.8766, allocations: 3.984 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.8766, allocations: 0 / 1.169 GB, free: 1.617 MB / 0.8887 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.24e-05/0.8766, allocations: 105.8 kB / 1.169 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.8766, allocations: 3.984 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.8767, allocations: 11.06 kB / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.8767, allocations: 0 / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8767, allocations: 4 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.8767, allocations: 0 / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.8768, allocations: 145.7 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8768, allocations: 7.875 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.187e-05/0.8768, allocations: 4 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8768, allocations: 0 / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.8768, allocations: 3.938 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8769, allocations: 3.984 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8769, allocations: 4 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.941e-05/0.8769, allocations: 65.08 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.877, allocations: 77.11 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.877, allocations: 3.938 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-06/0.877, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.877, allocations: 3.984 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.877, allocations: 0 / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.8771, allocations: 75.28 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.8771, allocations: 0 / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001813/0.8772, allocations: 8.031 kB / 1.169 GB, free: 1 MB / 0.8887 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 9.182e-05/0.8773, allocations: 91.25 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.182e-05/0.8774, allocations: 7.938 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8774, allocations: 0 / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 6.703e-06/0.8774, allocations: 4 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.8775, allocations: 0 / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.8777, allocations: 78.19 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.878, allocations: 0.6808 MB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 1.057e-05/0.878, allocations: 0 / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.878, allocations: 7.438 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/0.878, allocations: 0 / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of Templates: time 0.001747/0.8798, allocations: 167.6 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches