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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001697/0.001697, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00197/0.00197, allocations: 193 kB / 16.25 MB, free: 6.629 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.584/1.584, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.037/3.037, allocations: 482.3 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002224, allocations: 67.58 kB / 0.9233 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3363, allocations: 162.2 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002007/0.3383, allocations: 0.6538 MB / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 3.832e-05/0.3384, allocations: 8 kB / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.3384, allocations: 0 / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.3385, allocations: 3.938 kB / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.318e-06/0.3385, allocations: 0 / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.235e-05/0.3385, allocations: 0 / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.112e-05/0.3386, allocations: 0 / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.3386, allocations: 0 / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.664e-05/0.3386, allocations: 4 kB / 1.082 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.796e-05/0.3387, allocations: 4 kB / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.3387, allocations: 0 / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-06/0.3387, allocations: 0 / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.3387, allocations: 4 kB / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.3387, allocations: 0 / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.642e-05/0.3388, allocations: 3.984 kB / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3388, allocations: 0 / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3388, allocations: 0 / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3388, allocations: 0 / 1.082 GB, free: 12.98 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.0003379/0.3391, allocations: 307.6 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3392, allocations: 12.06 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.3392, allocations: 0.9375 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3393, allocations: 168.3 kB / 1.083 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3394, allocations: 4.375 kB / 1.083 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.3394, allocations: 384 / 1.083 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.738e-05/0.3395, allocations: 30.27 kB / 1.083 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3395, allocations: 8.125 kB / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3395, allocations: 3.938 kB / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3395, allocations: 0 / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.441e-05/0.3395, allocations: 0 / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3397, allocations: 141.7 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.246e-05/0.3397, allocations: 26.55 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.3398, allocations: 12.84 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3398, allocations: 4.062 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3398, allocations: 30.56 kB / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3398, allocations: 0 / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.3399, allocations: 33.64 kB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.34, allocations: 55.53 kB / 1.083 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.89e-05/0.3401, allocations: 89.86 kB / 1.083 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3401, allocations: 29.64 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.3401, allocations: 92.08 kB / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3402, allocations: 11.89 kB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.3402, allocations: 9.719 kB / 1.083 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3404, allocations: 314.8 kB / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-06/0.3404, allocations: 0 / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-06/0.3404, allocations: 8 kB / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.3404, allocations: 4.859 kB / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3404, allocations: 0 / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.467e-05/0.3405, allocations: 37.7 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3405, allocations: 4 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3405, allocations: 3.984 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3405, allocations: 3.938 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.3406, allocations: 11.94 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3406, allocations: 0 / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.124e-05/0.3406, allocations: 4.094 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3406, allocations: 0 / 1.084 GB, free: 11.32 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.375e-05/0.3407, allocations: 109.8 kB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-06/0.3407, allocations: 0 / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.6e-05/0.3408, allocations: 11.06 kB / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3408, allocations: 0 / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3408, allocations: 0 / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3408, allocations: 0 / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.3409, allocations: 149.6 kB / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3409, allocations: 3.984 kB / 1.084 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.3409, allocations: 8 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3409, allocations: 0 / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3409, allocations: 3.938 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3409, allocations: 0 / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3409, allocations: 0 / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.163e-05/0.341, allocations: 53.14 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.3411, allocations: 81.05 kB / 1.084 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3411, allocations: 11.95 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-06/0.3411, allocations: 4 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-06/0.3411, allocations: 0 / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.3411, allocations: 0 / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.3412, allocations: 75.28 kB / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3412, allocations: 0 / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001868/0.3414, allocations: 4 kB / 1.084 GB, free: 10.72 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 9.325e-05/0.3415, allocations: 91.53 kB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.051e-05/0.3415, allocations: 8 kB / 1.084 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3415, allocations: 0 / 1.084 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.133e-06/0.3416, allocations: 7.938 kB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.3417, allocations: 5.031 kB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001919/0.3419, allocations: 88.94 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3422, allocations: 0.6729 MB / 1.085 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.3422, allocations: 0 / 1.085 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.3422, allocations: 7.438 kB / 1.085 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.3423, allocations: 128 / 1.085 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of Templates: time 0.002236/0.3445, allocations: 165.2 kB / 1.085 GB, free: 9.617 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches