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.01167/0.01167, allocations: 100.9 kB / 15.73 MB, free: 6 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.002352/0.002352, allocations: 189.1 kB / 16.67 MB, free: 5.934 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.593/1.593, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.477/2.477, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 65.16 kB / 0.9508 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3515, allocations: 140.4 MB / 1.088 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001776/0.3533, allocations: 0.5802 MB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 4.751e-05/0.3534, allocations: 8 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.3534, allocations: 3.938 kB / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.3535, allocations: 0 / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-06/0.3535, allocations: 0 / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.882e-05/0.3535, allocations: 0 / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.3536, allocations: 0 / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.035e-05/0.3537, allocations: 3.984 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.3537, allocations: 11.98 kB / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.056e-05/0.3537, allocations: 0 / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.3537, allocations: 0 / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-06/0.3537, allocations: 0 / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.3537, allocations: 0 / 1.088 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.3538, allocations: 4 kB / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.245e-05/0.3538, allocations: 0 / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3538, allocations: 3.938 kB / 1.088 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3539, allocations: 0 / 1.088 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3539, allocations: 4 kB / 1.088 GB, free: 1.031 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.0003034/0.3542, allocations: 315.5 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3542, allocations: 12.06 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.3543, allocations: 0.9375 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.3544, allocations: 160.4 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3544, allocations: 384 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-06/0.3544, allocations: 4.312 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.3545, allocations: 30.27 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.3545, allocations: 4.188 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3545, allocations: 3.938 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3545, allocations: 0 / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.3546, allocations: 4 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.3547, allocations: 145.7 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.397e-05/0.3548, allocations: 22.55 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.3548, allocations: 12.84 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.3548, allocations: 4.062 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3548, allocations: 30.56 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3549, allocations: 4 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.355, allocations: 37.58 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.355, allocations: 51.41 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.3551, allocations: 89.86 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3551, allocations: 29.69 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.3552, allocations: 80.14 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.3552, allocations: 4 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3552, allocations: 13.72 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3554, allocations: 315.3 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.3554, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.3554, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/0.3554, allocations: 4.859 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3554, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.907e-05/0.3555, allocations: 41.64 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3555, allocations: 5.719 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3555, allocations: 4.078 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3555, allocations: 7.938 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.3556, allocations: 4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3556, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.3556, allocations: 7.891 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.3556, allocations: 0 / 1.09 GB, free: 15.38 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 6.656e-05/0.3557, allocations: 105.8 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.3557, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.629e-05/0.3557, allocations: 7.062 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3557, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3558, allocations: 7.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3558, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.089e-05/0.3559, allocations: 145.7 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3559, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.3559, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3559, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3559, allocations: 3.938 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3559, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3559, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.416e-05/0.356, allocations: 69.06 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.356, allocations: 77.11 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.356, allocations: 3.938 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.3561, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.3561, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.3561, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.3561, allocations: 75.28 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3561, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001856/0.3563, allocations: 12.03 kB / 1.09 GB, free: 14.77 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.0001071/0.3564, allocations: 95.25 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.184e-05/0.3565, allocations: 7.984 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3565, allocations: 0 / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-06/0.3565, allocations: 7.938 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.3567, allocations: 0 / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.3569, allocations: 76.81 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.3571, allocations: 0.6769 MB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.229e-05/0.3571, allocations: 4 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.3572, allocations: 7.438 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3572, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.001942/0.3591, allocations: 165.2 kB / 1.091 GB, free: 13.68 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