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.01093/0.01093, allocations: 100.6 kB / 15.73 MB, free: 5.996 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.002534/0.002534, allocations: 201.1 kB / 16.68 MB, free: 5.918 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 59.91 kB / 1.054 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211/1.212, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002064/1.214, allocations: 0.5822 MB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.255e-05/1.214, allocations: 7.938 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/1.214, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/1.214, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/1.215, allocations: 0 / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.687e-05/1.215, allocations: 4 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.38e-05/1.215, allocations: 4 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/1.215, allocations: 1.969 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/1.215, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.831e-05/1.215, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/1.215, allocations: 4 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.439e-06/1.215, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/1.215, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/1.215, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.972e-05/1.215, allocations: 4 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.215, allocations: 3.984 kB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/1.215, allocations: 4 kB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.215, allocations: 0 / 1.208 GB, free: 13.01 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.0003311/1.215, allocations: 307.6 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.215, allocations: 8.031 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/1.215, allocations: 4.938 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/1.215, allocations: 164.3 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/1.215, allocations: 4.312 kB / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/1.215, allocations: 4.359 kB / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/1.216, allocations: 26.27 kB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.216, allocations: 4.188 kB / 1.209 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/1.216, allocations: 7.938 kB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.216, allocations: 0 / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/1.216, allocations: 4 kB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/1.216, allocations: 145.7 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/1.216, allocations: 26.53 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/1.216, allocations: 4.859 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/1.216, allocations: 4 kB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.216, allocations: 42.61 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/1.216, allocations: 0 / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/1.216, allocations: 33.64 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.216, allocations: 51.41 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.851e-05/1.216, allocations: 93.8 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/1.216, allocations: 25.7 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/1.216, allocations: 80.27 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/1.216, allocations: 4 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/1.216, allocations: 17.72 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.217, allocations: 314.8 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/1.217, allocations: 0 / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/1.217, allocations: 7.984 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/1.217, allocations: 8.859 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.217, allocations: 0 / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.582e-05/1.217, allocations: 41.77 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.217, allocations: 4 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.217, allocations: 0 / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.217, allocations: 3.938 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/1.217, allocations: 7.938 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.217, allocations: 0 / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.053e-05/1.217, allocations: 0 / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/1.217, allocations: 0 / 1.21 GB, free: 11.36 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 7.689e-05/1.217, allocations: 109.8 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/1.217, allocations: 7.938 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/1.217, allocations: 7.062 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.217, allocations: 7.938 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.217, allocations: 0 / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.217, allocations: 0 / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.755e-05/1.217, allocations: 141.7 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.217, allocations: 0 / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/1.217, allocations: 4 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.217, allocations: 3.984 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/1.217, allocations: 3.938 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.217, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.217, allocations: 4 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.909e-05/1.217, allocations: 57.08 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/1.217, allocations: 81.11 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/1.217, allocations: 3.938 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-06/1.217, allocations: 3.984 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/1.217, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/1.217, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.755e-05/1.217, allocations: 79.31 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.217, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001763/1.218, allocations: 4 kB / 1.21 GB, free: 10.75 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.0001488/1.218, allocations: 99.25 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.091e-05/1.218, allocations: 8 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.218, allocations: 0 / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-06/1.218, allocations: 4 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/1.218, allocations: 4.125 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/1.218, allocations: 97.2 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.218, allocations: 0.6728 MB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.1e-05/1.218, allocations: 0 / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/1.219, allocations: 11.44 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/1.219, allocations: 0 / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.001978/1.22, allocations: 169 kB / 1.211 GB, free: 9.633 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/jenkins/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