Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_11_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_11_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.001331/0.001331, allocations: 120.6 kB / 16.81 MB, free: 5.754 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.001386/0.001386, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.546/1.546, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 65.47 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.477, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002249/0.4792, allocations: 0.5716 MB / 1.263 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.54e-05/0.4793, allocations: 7.984 kB / 1.263 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.592e-05/0.4793, allocations: 0 / 1.263 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.4793, allocations: 0 / 1.263 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.052e-05/0.4794, allocations: 0 / 1.263 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.974e-05/0.4794, allocations: 3.938 kB / 1.263 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.4795, allocations: 3.984 kB / 1.263 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.4795, allocations: 4 kB / 1.263 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.4795, allocations: 0 / 1.263 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.025e-05/0.4796, allocations: 3.938 kB / 1.263 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.4796, allocations: 0 / 1.263 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-06/0.4796, allocations: 4 kB / 1.263 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.4796, allocations: 3.938 kB / 1.263 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.4796, allocations: 0 / 1.263 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.357e-05/0.4797, allocations: 4 kB / 1.263 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4797, allocations: 0 / 1.263 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4797, allocations: 0 / 1.263 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.4797, allocations: 0 / 1.263 GB, free: 12.34 MB / 0.9825 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.0005124/0.4802, allocations: 319.5 kB / 1.263 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4802, allocations: 8.031 kB / 1.263 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.4803, allocations: 0.9375 kB / 1.263 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.4804, allocations: 164.4 kB / 1.263 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4805, allocations: 384 / 1.263 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.4805, allocations: 384 / 1.263 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.4806, allocations: 30.27 kB / 1.263 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4806, allocations: 192 / 1.263 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.4806, allocations: 7.875 kB / 1.263 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4806, allocations: 0 / 1.263 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.4806, allocations: 0 / 1.263 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.4808, allocations: 153.7 kB / 1.263 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.4809, allocations: 18.58 kB / 1.263 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.4809, allocations: 8.953 kB / 1.263 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.4809, allocations: 0 / 1.263 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.481, allocations: 30.56 kB / 1.263 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.481, allocations: 0 / 1.263 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001446/0.4812, allocations: 41.58 kB / 1.263 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4812, allocations: 59.52 kB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.4813, allocations: 89.86 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4813, allocations: 25.7 kB / 1.264 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.4813, allocations: 88.08 kB / 1.264 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.4814, allocations: 0 / 1.264 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.4814, allocations: 9.719 kB / 1.264 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4815, allocations: 314.8 kB / 1.264 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.4816, allocations: 4 kB / 1.264 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.4816, allocations: 8 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.4816, allocations: 12.8 kB / 1.264 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4816, allocations: 0 / 1.264 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.827e-05/0.4817, allocations: 29.7 kB / 1.264 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4817, allocations: 7.984 kB / 1.264 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4817, allocations: 0 / 1.264 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4817, allocations: 3.938 kB / 1.264 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.4818, allocations: 11.92 kB / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.4818, allocations: 0 / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.4818, allocations: 8.031 kB / 1.264 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.4818, allocations: 0 / 1.264 GB, free: 10.69 MB / 0.9825 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.627e-05/0.4819, allocations: 112.8 kB / 1.264 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-06/0.4819, allocations: 4 kB / 1.264 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.4819, allocations: 3.125 kB / 1.264 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4819, allocations: 3.938 kB / 1.264 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.4819, allocations: 0 / 1.264 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.482, allocations: 81.09 kB / 1.264 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.482, allocations: 0 / 1.264 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-06/0.482, allocations: 4 kB / 1.264 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.482, allocations: 4 kB / 1.264 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001025/0.4821, allocations: 112.9 kB / 1.264 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001554/0.4823, allocations: 206.8 kB / 1.265 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.577e-05/0.4823, allocations: 0 / 1.265 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.4823, allocations: 79.34 kB / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Backend: time 3.51e-07/0.4823, allocations: 0 / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.4827, allocations: 86.34 kB / 1.265 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006366/0.4834, allocations: 0.5336 MB / 1.265 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of Templates: time 0.002391/0.4857, allocations: 196.7 kB / 1.265 GB, free: 9.18 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches