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.00144/0.00144, allocations: 102 kB / 16.27 MB, free: 5.902 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.001617/0.001617, allocations: 188.7 kB / 17.2 MB, free: 5.535 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.548/2.548, allocations: 437 MB / 0.711 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.95 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2992, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001865/0.3011, allocations: 0.5884 MB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 3.337e-05/0.3012, allocations: 0 / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.3012, allocations: 3.938 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.3012, allocations: 4 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-06/0.3012, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.613e-05/0.3013, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.985e-05/0.3013, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.3014, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.3014, allocations: 4 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.3014, allocations: 11.98 kB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.3014, allocations: 0 / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-06/0.3014, allocations: 0 / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.3015, allocations: 0 / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.3015, allocations: 3.938 kB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 4.545e-05/0.3015, allocations: 0 / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3015, allocations: 0 / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3016, allocations: 0 / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3016, allocations: 0 / 1.019 GB, free: 10 MB / 0.795 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.0002666/0.3018, allocations: 325.7 kB / 1.019 GB, free: 9.633 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3019, allocations: 8.922 kB / 1.019 GB, free: 9.625 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.3019, allocations: 4.938 kB / 1.019 GB, free: 9.621 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.207e-05/0.302, allocations: 160.4 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.302, allocations: 384 / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.302, allocations: 384 / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.988e-05/0.3021, allocations: 38.19 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3021, allocations: 192 / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3021, allocations: 7.938 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3022, allocations: 0 / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.3022, allocations: 4 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.3023, allocations: 145.6 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.094e-05/0.3024, allocations: 18.61 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.3024, allocations: 8.859 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.3024, allocations: 3.938 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3024, allocations: 38.61 kB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3024, allocations: 4 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000112/0.3025, allocations: 41.56 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.3026, allocations: 51.41 kB / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.373e-05/0.3026, allocations: 89.86 kB / 1.019 GB, free: 8.879 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3026, allocations: 25.7 kB / 1.019 GB, free: 8.848 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.3027, allocations: 80.14 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.3027, allocations: 4 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.3027, allocations: 13.72 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.3028, allocations: 315 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-06/0.3028, allocations: 0 / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-06/0.3029, allocations: 8 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.194e-05/0.3029, allocations: 8.844 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3029, allocations: 0 / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.589e-05/0.303, allocations: 41.64 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.303, allocations: 4 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.303, allocations: 0 / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.303, allocations: 8.031 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.3031, allocations: 0 / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3031, allocations: 4 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.012e-05/0.3031, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.3031, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.795 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 7.041e-05/0.3032, allocations: 105.8 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.3032, allocations: 3.984 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.657e-05/0.3032, allocations: 7.062 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3032, allocations: 4 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3032, allocations: 4 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3032, allocations: 3.938 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.303e-05/0.3033, allocations: 145.7 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3033, allocations: 0 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.3033, allocations: 4 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3033, allocations: 0 / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3034, allocations: 3.938 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3034, allocations: 3.984 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3034, allocations: 0 / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.267e-05/0.3034, allocations: 57.08 kB / 1.02 GB, free: 7.93 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.3035, allocations: 81.11 kB / 1.02 GB, free: 7.832 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.3035, allocations: 3.938 kB / 1.02 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.3035, allocations: 4 kB / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.3035, allocations: 3.984 kB / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.3035, allocations: 0 / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.3036, allocations: 79.22 kB / 1.02 GB, free: 7.742 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3036, allocations: 0 / 1.02 GB, free: 7.742 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001994/0.3038, allocations: 8.031 kB / 1.02 GB, free: 7.734 MB / 0.795 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 8.178e-05/0.3039, allocations: 91.53 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.967e-05/0.3039, allocations: 4 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3039, allocations: 0 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-06/0.3039, allocations: 7.938 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.3041, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.3043, allocations: 118.7 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3045, allocations: 0.6768 MB / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.3045, allocations: 7.438 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3045, allocations: 0 / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of Templates: time 0.001422/0.306, allocations: 319.9 kB / 1.022 GB, free: 6.453 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches