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.001258/0.001258, allocations: 108.5 kB / 16.41 MB, free: 6.465 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.00124/0.00124, allocations: 187 kB / 17.34 MB, free: 5.719 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.29/1.29, 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.1-master/package.mo): time 2.516/2.516, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.89 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7513/0.7526, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001661/0.7543, allocations: 0.5704 MB / 1.209 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.072e-05/0.7544, allocations: 7.938 kB / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.7544, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.7545, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.239e-05/0.7545, allocations: 4 kB / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 2.993e-05/0.7545, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.422e-05/0.7546, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.7546, allocations: 4 kB / 1.209 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.566e-05/0.7547, allocations: 3.938 kB / 1.209 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.486e-05/0.7547, allocations: 4 kB / 1.209 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.7547, allocations: 0 / 1.209 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.817e-06/0.7547, allocations: 0 / 1.209 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.7547, allocations: 4 kB / 1.209 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.7548, allocations: 0 / 1.209 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.619e-05/0.7548, allocations: 7.969 kB / 1.209 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.7548, allocations: 0 / 1.209 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7548, allocations: 3.938 kB / 1.209 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.7548, allocations: 0 / 1.209 GB, free: 13.13 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.0002503/0.7551, allocations: 307.6 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.7551, allocations: 12.06 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.7552, allocations: 0.9375 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.189e-05/0.7553, allocations: 164.4 kB / 1.21 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.7553, allocations: 8.375 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.7553, allocations: 4.312 kB / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.299e-05/0.7554, allocations: 26.27 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.7554, allocations: 4.188 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.7554, allocations: 3.938 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.7554, allocations: 0 / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.343e-05/0.7554, allocations: 0 / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.7556, allocations: 141.7 kB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.7556, allocations: 26.61 kB / 1.21 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.7556, allocations: 12.78 kB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.7556, allocations: 8 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.7557, allocations: 30.56 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.7557, allocations: 0 / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 9.989e-05/0.7558, allocations: 33.64 kB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.7558, allocations: 55.53 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.357e-05/0.7559, allocations: 89.86 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.7559, allocations: 29.7 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.7559, allocations: 80.14 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.756, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.756, allocations: 9.719 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.7561, allocations: 314.8 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.7561, allocations: 3.938 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.7561, allocations: 8 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.7562, allocations: 8.859 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7562, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.67e-05/0.7562, allocations: 33.7 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.7562, allocations: 4 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.7562, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.7563, allocations: 3.938 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.7563, allocations: 4 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.7563, allocations: 3.984 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.081e-05/0.7563, allocations: 4.094 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.7563, allocations: 0 / 1.21 GB, free: 11.49 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.575e-05/0.7564, allocations: 113.8 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.7564, allocations: 3.906 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.7564, allocations: 15.06 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.7565, allocations: 3.938 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7565, allocations: 0 / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.7565, allocations: 0 / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.511e-05/0.7566, allocations: 145.7 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7566, allocations: 3.984 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/0.7566, allocations: 8 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7566, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.7566, allocations: 3.938 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.7566, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.7566, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.735e-05/0.7567, allocations: 57.08 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.7567, allocations: 81.11 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.7567, allocations: 11.95 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.7567, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.7568, allocations: 3.984 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.7568, allocations: 3.938 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.7568, allocations: 75.28 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7568, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001863/0.757, allocations: 4 kB / 1.211 GB, free: 10.87 MB / 0.9356 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.0001034/0.7571, allocations: 95.25 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.998e-05/0.7572, allocations: 8 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7572, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.838e-05/0.7572, allocations: 4 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.7573, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.7575, allocations: 117 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.7578, allocations: 0.6729 MB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.7578, allocations: 11.38 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7578, allocations: 0 / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of Templates: time 0.001294/0.7591, allocations: 335.5 kB / 1.212 GB, free: 9.57 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