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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002271/0.002271, allocations: 159.8 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.717/2.717, allocations: 359.1 MB / 0.6044 GB, free: 14.92 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 59.91 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3535, allocations: 169.9 MB / 1.117 GB, free: 2.605 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001911/0.3554, allocations: 0.5768 MB / 1.118 GB, free: 2.031 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 4.654e-05/0.3554, allocations: 15.98 kB / 1.118 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.3554, allocations: 0 / 1.118 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.3555, allocations: 0 / 1.118 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.231e-05/0.3555, allocations: 0 / 1.118 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.184e-05/0.3555, allocations: 3.984 kB / 1.118 GB, free: 2.012 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.3556, allocations: 4 kB / 1.118 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.3556, allocations: 7.938 kB / 1.118 GB, free: 2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.035e-05/0.3557, allocations: 0 / 1.118 GB, free: 2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.816e-05/0.3557, allocations: 0 / 1.118 GB, free: 2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.3557, allocations: 0 / 1.118 GB, free: 2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.526e-06/0.3557, allocations: 0 / 1.118 GB, free: 2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.3557, allocations: 4 kB / 1.118 GB, free: 1.996 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.3557, allocations: 0 / 1.118 GB, free: 1.996 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.965e-05/0.3558, allocations: 4 kB / 1.118 GB, free: 1.992 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3558, allocations: 0 / 1.118 GB, free: 1.992 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3558, allocations: 0 / 1.118 GB, free: 1.992 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3558, allocations: 0 / 1.118 GB, free: 1.992 MB / 1.061 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.0002692/0.3561, allocations: 238.4 kB / 1.118 GB, free: 1.727 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3561, allocations: 11.97 kB / 1.118 GB, free: 1.715 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.3561, allocations: 4.938 kB / 1.118 GB, free: 1.711 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.598e-05/0.3562, allocations: 102.5 kB / 1.118 GB, free: 1.586 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3562, allocations: 4.375 kB / 1.118 GB, free: 1.582 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-06/0.3562, allocations: 4.375 kB / 1.118 GB, free: 1.578 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.989e-05/0.3563, allocations: 26.27 kB / 1.118 GB, free: 1.547 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3563, allocations: 192 / 1.118 GB, free: 1.547 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3563, allocations: 7.875 kB / 1.118 GB, free: 1.539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3563, allocations: 4 kB / 1.118 GB, free: 1.535 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.475e-05/0.3563, allocations: 0 / 1.118 GB, free: 1.535 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.3565, allocations: 97.31 kB / 1.119 GB, free: 1.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.753e-05/0.3565, allocations: 30.48 kB / 1.119 GB, free: 1.371 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.3565, allocations: 4.859 kB / 1.119 GB, free: 1.363 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.3565, allocations: 4.062 kB / 1.119 GB, free: 1.359 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3566, allocations: 34.56 kB / 1.119 GB, free: 1.316 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.3566, allocations: 0 / 1.119 GB, free: 1.316 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001148/0.3567, allocations: 33.64 kB / 1.119 GB, free: 1.277 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.3567, allocations: 59.34 kB / 1.119 GB, free: 1.207 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.91e-05/0.3568, allocations: 89.86 kB / 1.119 GB, free: 1.109 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.3568, allocations: 25.7 kB / 1.119 GB, free: 1.078 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.3568, allocations: 84.14 kB / 1.119 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.3569, allocations: 7.938 kB / 1.119 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.3569, allocations: 9.719 kB / 1.119 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.357, allocations: 314.8 kB / 1.119 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.3571, allocations: 4.125 kB / 1.119 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-06/0.3571, allocations: 0 / 1.119 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.3571, allocations: 12.86 kB / 1.119 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3571, allocations: 0 / 1.119 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.122e-05/0.3571, allocations: 29.7 kB / 1.119 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3571, allocations: 4 kB / 1.119 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3572, allocations: 7.938 kB / 1.119 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3572, allocations: 0 / 1.119 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.3572, allocations: 7.922 kB / 1.119 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3572, allocations: 4.094 kB / 1.119 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.287e-06/0.3572, allocations: 0 / 1.119 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.3572, allocations: 0 / 1.119 GB, free: 0.5742 MB / 1.061 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.944e-05/0.3573, allocations: 109.8 kB / 1.119 GB, free: 468 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.3573, allocations: 0 / 1.119 GB, free: 468 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.3573, allocations: 6.984 kB / 1.119 GB, free: 460 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3573, allocations: 3.938 kB / 1.119 GB, free: 456 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3573, allocations: 4 kB / 1.119 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.3573, allocations: 0 / 1.119 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.05e-05/0.3574, allocations: 109.3 kB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3574, allocations: 4 kB / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/0.3574, allocations: 0 / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.3574, allocations: 0 / 1.12 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3574, allocations: 4 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3574, allocations: 3.938 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3574, allocations: 3.938 kB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.615e-05/0.3575, allocations: 61.02 kB / 1.12 GB, free: 216 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.3575, allocations: 4 kB / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.3575, allocations: 3.984 kB / 1.12 GB, free: 208 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-06/0.3575, allocations: 0 / 1.12 GB, free: 208 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.3575, allocations: 3.938 kB / 1.12 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.3575, allocations: 4.031 kB / 1.12 GB, free: 200 kB / 1.061 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.3576, allocations: 75.28 kB / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001917/0.3578, allocations: 4 kB / 1.12 GB, free: 120 kB / 1.061 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 9.942e-05/0.3579, allocations: 95.25 kB / 1.12 GB, free: 16 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.993e-05/0.3579, allocations: 0 / 1.12 GB, free: 16 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3579, allocations: 4 kB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-06/0.3579, allocations: 0 / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.3581, allocations: 7.719 kB / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.3583, allocations: 101.5 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.207e-05/0.3584, allocations: 51.36 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.302e-05/0.3584, allocations: 4 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.3584, allocations: 8.5 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.3584, allocations: 0 / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of Templates: time 0.00208/0.3605, allocations: 168.6 kB / 1.12 GB, free: 15.64 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.125438490998931]