Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_9_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.01119/0.01119, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.002383/0.002384, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.59/1.59, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.692/2.692, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 61.95 kB / 0.9508 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3404, allocations: 140.4 MB / 1.088 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001783/0.3423, allocations: 0.5793 MB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 5.001e-05/0.3423, allocations: 3.984 kB / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.3424, allocations: 0 / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.3424, allocations: 11.94 kB / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-06/0.3424, allocations: 0 / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.287e-05/0.3425, allocations: 3.984 kB / 1.088 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.3425, allocations: 8 kB / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.3426, allocations: 0 / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.3426, allocations: 0 / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.189e-05/0.3427, allocations: 4 kB / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3427, allocations: 0 / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.446e-06/0.3427, allocations: 0 / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.3427, allocations: 3.938 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.3427, allocations: 0 / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.134e-05/0.3428, allocations: 4 kB / 1.088 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3428, allocations: 0 / 1.088 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3428, allocations: 0 / 1.088 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3428, allocations: 0 / 1.088 GB, free: 0.9453 MB / 0.8419 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.000326/0.3431, allocations: 311.6 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3432, allocations: 8.031 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.3432, allocations: 4.938 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.3433, allocations: 164.4 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3434, allocations: 4.312 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.3434, allocations: 4.375 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.493e-05/0.3435, allocations: 30.2 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3435, allocations: 192 / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3435, allocations: 3.938 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3435, allocations: 4 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.551e-05/0.3435, allocations: 0 / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.3437, allocations: 145.7 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.3437, allocations: 26.55 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.3438, allocations: 8.859 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.3438, allocations: 0 / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3438, allocations: 38.62 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3438, allocations: 0 / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.344, allocations: 37.62 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.344, allocations: 51.41 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.3441, allocations: 93.86 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.3441, allocations: 29.83 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.3441, allocations: 80.14 kB / 1.089 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.3442, allocations: 0 / 1.089 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.3442, allocations: 13.72 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3443, allocations: 315.1 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-06/0.3443, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.3444, allocations: 4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.3444, allocations: 12.92 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3444, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.914e-05/0.3444, allocations: 37.69 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3445, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3445, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3445, allocations: 3.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.3446, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3446, allocations: 4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.3446, allocations: 3.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3446, allocations: 3.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 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.081e-05/0.3447, allocations: 109.9 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-06/0.3447, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.3447, allocations: 7.062 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3447, allocations: 4 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3447, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3447, allocations: 3.938 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.669e-05/0.3448, allocations: 157.6 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3448, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.3449, allocations: 4 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3449, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3449, allocations: 7.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.3449, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3449, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.861e-05/0.3449, allocations: 57.12 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.345, allocations: 85.09 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.345, allocations: 3.938 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.345, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.345, allocations: 7.969 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.345, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.663e-05/0.3451, allocations: 75.28 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3451, allocations: 0 / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000186/0.3453, allocations: 4 kB / 1.09 GB, free: 14.69 MB / 0.8575 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.0001193/0.3454, allocations: 99.23 kB / 1.09 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.252e-05/0.3455, allocations: 4 kB / 1.09 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3455, allocations: 0 / 1.09 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/0.3455, allocations: 8.062 kB / 1.09 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.3456, allocations: 0 / 1.09 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.3458, allocations: 80.98 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3461, allocations: 0.6728 MB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.351e-05/0.3461, allocations: 3.984 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.3461, allocations: 7.438 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3461, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of Templates: time 0.001954/0.3481, allocations: 169.2 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_9_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches