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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001714/0.001713, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.002018/0.002018, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.00156, allocations: 68.11 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9178/0.9193, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002007/0.9214, allocations: 0.5922 MB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.537e-05/0.9215, allocations: 8 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.9215, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.9215, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-06/0.9216, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.031e-05/0.9216, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.9217, allocations: 3.938 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.9218, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.9218, allocations: 8 kB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.28e-05/0.9218, allocations: 3.938 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.9218, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-06/0.9218, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.9218, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.9219, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.672e-05/0.9219, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.9219, allocations: 4 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.894e-06/0.922, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.922, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 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.0003082/0.9223, allocations: 315.5 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.9223, allocations: 8.062 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.9224, allocations: 4.938 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.9225, allocations: 160.4 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9225, allocations: 384 / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.9225, allocations: 384 / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.9226, allocations: 26.27 kB / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9226, allocations: 192 / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.9226, allocations: 7.922 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.9226, allocations: 4 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.9227, allocations: 7.938 kB / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.9228, allocations: 145.7 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.9229, allocations: 18.61 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.9229, allocations: 4.859 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.9229, allocations: 0 / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.923, allocations: 42.56 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.923, allocations: 7.938 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.9231, allocations: 41.56 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.9231, allocations: 51.41 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.973e-05/0.9232, allocations: 89.86 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.9232, allocations: 25.7 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.9232, allocations: 80.14 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.9233, allocations: 3.984 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.9233, allocations: 13.72 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.9234, allocations: 319 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.9234, allocations: 4 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.9235, allocations: 4 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.9235, allocations: 4.859 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9235, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.631e-05/0.9236, allocations: 41.62 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.9236, allocations: 4 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.9236, allocations: 0 / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9236, allocations: 8.031 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.727e-05/0.9237, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.9237, allocations: 4 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-06/0.9237, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.9237, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 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.967e-05/0.9238, allocations: 109.8 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.9238, allocations: 3.906 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.9238, allocations: 7.109 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.9238, allocations: 7.938 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.9238, allocations: 4 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.9239, allocations: 77.11 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.9239, allocations: 0 / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-06/0.9239, allocations: 0 / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.9239, allocations: 3.984 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.51e-05/0.924, allocations: 112.9 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000118/0.9241, allocations: 210.8 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.656e-05/0.9241, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.9242, allocations: 79.28 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of Backend: time 4.91e-07/0.9242, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.9245, allocations: 79.75 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004218/0.925, allocations: 0.5291 MB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.002145/0.9271, allocations: 189.1 kB / 1.212 GB, free: 9.871 MB / 0.9356 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