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.009162/0.009162, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001378/0.001378, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.692/2.692, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 71.83 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9525, allocations: 159.1 MB / 1.221 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001811/0.9543, allocations: 0.5647 MB / 1.221 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 5.59e-05/0.9544, allocations: 3.984 kB / 1.221 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.9544, allocations: 4 kB / 1.221 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.9544, allocations: 0 / 1.221 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.085e-05/0.9545, allocations: 0 / 1.221 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.893e-05/0.9545, allocations: 8 kB / 1.221 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.167e-05/0.9546, allocations: 7.922 kB / 1.221 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.06e-05/0.9546, allocations: 1.969 kB / 1.221 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.9547, allocations: 3.938 kB / 1.221 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.9547, allocations: 0 / 1.221 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.9547, allocations: 4 kB / 1.221 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-06/0.9547, allocations: 0 / 1.221 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.9547, allocations: 0 / 1.221 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.9547, allocations: 8 kB / 1.221 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.704e-05/0.9548, allocations: 0 / 1.221 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9548, allocations: 0 / 1.221 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9548, allocations: 0 / 1.221 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.9548, allocations: 0 / 1.221 GB, free: 1.688 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.0004267/0.9553, allocations: 319.5 kB / 1.222 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.9553, allocations: 8.031 kB / 1.222 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.9553, allocations: 0.9375 kB / 1.222 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.9555, allocations: 164.4 kB / 1.222 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.9555, allocations: 4.359 kB / 1.222 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.9555, allocations: 8.312 kB / 1.222 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.73e-05/0.9556, allocations: 26.27 kB / 1.222 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9556, allocations: 192 / 1.222 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.9556, allocations: 3.938 kB / 1.222 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9556, allocations: 4 kB / 1.222 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.792e-05/0.9556, allocations: 3.938 kB / 1.222 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.9558, allocations: 149.7 kB / 1.222 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/0.9558, allocations: 22.61 kB / 1.222 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.9558, allocations: 8.797 kB / 1.222 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.9559, allocations: 0 / 1.222 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.9559, allocations: 34.62 kB / 1.222 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.9559, allocations: 0 / 1.222 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.956, allocations: 45.56 kB / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.9561, allocations: 51.41 kB / 1.222 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.401e-05/0.9561, allocations: 93.98 kB / 1.222 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.9561, allocations: 25.7 kB / 1.222 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.9562, allocations: 80.14 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.9562, allocations: 3.984 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.9562, allocations: 13.72 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9563, allocations: 310.8 kB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.9564, allocations: 4 kB / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.9564, allocations: 0 / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.9564, allocations: 12.92 kB / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9564, allocations: 0 / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.895e-05/0.9564, allocations: 37.62 kB / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9565, allocations: 8 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.9565, allocations: 0 / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.9565, allocations: 3.938 kB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.9565, allocations: 0 / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.9565, allocations: 0 / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.038e-05/0.9566, allocations: 4 kB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.9566, allocations: 32 / 1.223 GB, free: 40 kB / 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 8.983e-05/0.9566, allocations: 113.8 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-06/0.9567, allocations: 0 / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.658e-05/0.9567, allocations: 7.062 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.9567, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9567, allocations: 4 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9567, allocations: 3.984 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.9568, allocations: 145.7 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.9568, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-06/0.9568, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.9568, allocations: 8 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.9568, allocations: 7.875 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.9568, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9568, allocations: 7.875 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.944e-05/0.9568, allocations: 57.12 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.9569, allocations: 77.11 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.9569, allocations: 7.938 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-06/0.9569, allocations: 4.031 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.9569, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-06/0.9569, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.9569, allocations: 75.28 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.9569, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001785/0.9571, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9512 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.0001228/0.9572, allocations: 106.2 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.048e-05/0.9573, allocations: 7.938 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9573, allocations: 4.062 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.9573, allocations: 4 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.9575, allocations: 4 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.9577, allocations: 82.47 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.9581, allocations: 0.6729 MB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.213e-05/0.9581, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.9581, allocations: 7.438 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.9581, allocations: 0 / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of Templates: time 0.002093/0.9602, allocations: 169 kB / 1.224 GB, free: 14.33 MB / 0.9512 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=480 -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/jenkins/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