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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_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.001176/0.001176, allocations: 104.8 kB / 16.27 MB, free: 6.414 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.001294/0.001294, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 469.4 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.98 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3569, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002296/0.3592, allocations: 0.5805 MB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 4.501e-05/0.3593, allocations: 3.984 kB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.3594, allocations: 4 kB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.3594, allocations: 3.938 kB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-06/0.3594, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.888e-05/0.3595, allocations: 4 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.977e-05/0.3595, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.3596, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.3596, allocations: 4 kB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.784e-05/0.3596, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.3597, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-06/0.3597, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.3597, allocations: 4 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.3597, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.348e-05/0.3598, allocations: 7.922 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3598, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.136e-06/0.3598, allocations: 4 kB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3598, allocations: 3.938 kB / 1.065 GB, free: 14.4 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.0003332/0.3602, allocations: 315.5 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3602, allocations: 8.656 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.3602, allocations: 4.938 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3604, allocations: 160.4 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3604, allocations: 384 / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.3604, allocations: 384 / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.901e-05/0.3605, allocations: 34.27 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3605, allocations: 8.125 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3605, allocations: 3.938 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3605, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.3605, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.3607, allocations: 149.6 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.779e-05/0.3608, allocations: 18.61 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.3608, allocations: 8.859 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.3608, allocations: 8.062 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3608, allocations: 30.56 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3608, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.361, allocations: 41.56 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.361, allocations: 51.41 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.091e-05/0.3611, allocations: 89.86 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.3611, allocations: 25.7 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.3611, allocations: 84.27 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.3612, allocations: 8 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3612, allocations: 9.719 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3613, allocations: 310.8 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.3614, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.3614, allocations: 4 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.364e-05/0.3614, allocations: 4.859 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3614, allocations: 0 / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.834e-05/0.3615, allocations: 57.67 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3615, allocations: 4 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3615, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3615, allocations: 3.938 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/0.3616, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3616, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.3616, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-06/0.3616, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8419 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 8.291e-05/0.3617, allocations: 105.8 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-06/0.3617, allocations: 4.031 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.3617, allocations: 11.06 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3617, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3618, allocations: 3.938 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3618, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.3619, allocations: 149.6 kB / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3619, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.3619, allocations: 8 kB / 1.066 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3619, allocations: 0 / 1.066 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.3619, allocations: 3.938 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.362, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.362, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.309e-05/0.362, allocations: 61.06 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.3621, allocations: 77.11 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.3621, allocations: 3.938 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-06/0.3621, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.3621, allocations: 4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-06/0.3621, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.3622, allocations: 79.31 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3622, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001873/0.3624, allocations: 4 kB / 1.067 GB, free: 12.15 MB / 0.8419 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.0001029/0.3625, allocations: 96.05 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.498e-05/0.3625, allocations: 4 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3625, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.204e-06/0.3626, allocations: 7.938 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.3627, allocations: 10.09 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.3629, allocations: 114.6 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3632, allocations: 0.669 MB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.3632, allocations: 7.438 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3632, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.001555/0.3648, allocations: 327.8 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches