Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002034/0.002034, allocations: 190.7 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.417/1.417, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156/1.158, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002766/1.161, allocations: 0.577 MB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 6.939e-05/1.161, allocations: 4 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/1.161, allocations: 3.938 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/1.161, allocations: 4 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.691e-05/1.161, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.377e-05/1.161, allocations: 3.984 kB / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/1.161, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/1.161, allocations: 0 / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/1.161, allocations: 7.938 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.922e-05/1.161, allocations: 7.984 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/1.161, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-06/1.161, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/1.161, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/1.161, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.344e-05/1.161, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.161, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.875e-06/1.161, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.161, allocations: 4 kB / 1.209 GB, free: 12.99 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.0004204/1.162, allocations: 311.5 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.162, allocations: 16 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/1.162, allocations: 4.938 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/1.162, allocations: 160.4 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/1.162, allocations: 4.375 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/1.162, allocations: 384 / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/1.162, allocations: 26.27 kB / 1.21 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.162, allocations: 192 / 1.21 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/1.162, allocations: 7.938 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/1.162, allocations: 3.984 kB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/1.162, allocations: 4 kB / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/1.163, allocations: 149.7 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.931e-05/1.163, allocations: 22.55 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/1.163, allocations: 4.859 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/1.163, allocations: 3.938 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/1.163, allocations: 34.62 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/1.163, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001676/1.163, allocations: 41.62 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/1.163, allocations: 55.34 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.595e-05/1.163, allocations: 89.86 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/1.163, allocations: 25.7 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/1.163, allocations: 80.14 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/1.163, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/1.163, allocations: 13.72 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.163, allocations: 319 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/1.163, allocations: 0 / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-06/1.163, allocations: 7.938 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/1.163, allocations: 4.859 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.163, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.038e-05/1.164, allocations: 37.69 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.164, allocations: 4 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.164, allocations: 0 / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.164, allocations: 7.969 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/1.164, allocations: 4 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/1.164, allocations: 4 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/1.164, allocations: 0 / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/1.164, allocations: 0 / 1.21 GB, free: 11.34 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 9.095e-05/1.164, allocations: 109.8 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-06/1.164, allocations: 3.906 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/1.164, allocations: 3.125 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.164, allocations: 7.938 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.164, allocations: 4 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/1.164, allocations: 81.09 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/1.164, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-06/1.164, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/1.164, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.769e-05/1.164, allocations: 105 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001611/1.164, allocations: 214.7 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.044e-05/1.164, allocations: 4.031 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.854e-05/1.164, allocations: 75.28 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of Backend: time 1.91e-07/1.164, allocations: 3.938 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000472/1.165, allocations: 82.41 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000534/1.165, allocations: 0.5336 MB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.002509/1.168, allocations: 192.9 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches