Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001737/0.001737, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002114/0.002114, allocations: 212.4 kB / 22.25 MB, free: 4.855 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.726/1.726, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.455/3.455, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002163/0.002163, allocations: 65.47 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4504, allocations: 176.1 MB / 1.326 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.003221/0.4536, allocations: 0.5754 MB / 1.326 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 6.946e-05/0.4537, allocations: 7.938 kB / 1.326 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.4537, allocations: 4 kB / 1.326 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.634e-05/0.4538, allocations: 0 / 1.326 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.4538, allocations: 0 / 1.326 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.708e-05/0.4539, allocations: 4 kB / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.342e-05/0.4539, allocations: 3.938 kB / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.454, allocations: 3.984 kB / 1.326 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.4541, allocations: 0 / 1.326 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.827e-05/0.4541, allocations: 0 / 1.326 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.4541, allocations: 4 kB / 1.326 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-06/0.4541, allocations: 0 / 1.326 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.4541, allocations: 3.938 kB / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.4542, allocations: 4 kB / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.4543, allocations: 7.984 kB / 1.326 GB, free: 1.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.4543, allocations: 0 / 1.326 GB, free: 1.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4543, allocations: 0 / 1.326 GB, free: 1.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4543, allocations: 0 / 1.326 GB, free: 1.18 MB / 1.014 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.0004155/0.4547, allocations: 230.5 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/0.4548, allocations: 12.03 kB / 1.326 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.4548, allocations: 4.922 kB / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.455, allocations: 106.5 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.455, allocations: 384 / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.455, allocations: 384 / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.4551, allocations: 38.2 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4551, allocations: 192 / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4551, allocations: 7.938 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.4551, allocations: 0 / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.4552, allocations: 3.938 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.4553, allocations: 97.33 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.832e-05/0.4554, allocations: 14.58 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.4554, allocations: 16.88 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.4555, allocations: 0 / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.4555, allocations: 38.56 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.4555, allocations: 4 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001728/0.4557, allocations: 33.64 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4557, allocations: 51.41 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.4558, allocations: 89.86 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4558, allocations: 25.7 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.4559, allocations: 80.14 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.4559, allocations: 3.953 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.456, allocations: 18.12 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003409/0.4563, allocations: 314.8 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.4563, allocations: 4.125 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.4563, allocations: 7.938 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.4564, allocations: 4.859 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4564, allocations: 0 / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.869e-05/0.4564, allocations: 37.7 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4565, allocations: 4 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4565, allocations: 0 / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4565, allocations: 0 / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.4566, allocations: 7.938 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4566, allocations: 96 / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.231e-05/0.4566, allocations: 4 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4566, allocations: 3.938 kB / 1.327 GB, free: 15.77 MB / 1.029 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 0.000115/0.4567, allocations: 116.4 kB / 1.327 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-06/0.4567, allocations: 4 kB / 1.327 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.4568, allocations: 6.984 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4568, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4568, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4568, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.4569, allocations: 93.33 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4569, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.4569, allocations: 8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4569, allocations: 3.938 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4569, allocations: 4 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.4569, allocations: 3.984 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4569, allocations: 3.938 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.974e-05/0.457, allocations: 57.14 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.457, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.457, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-06/0.457, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.4571, allocations: 7.922 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.4571, allocations: 4.031 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.4571, allocations: 79.22 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4571, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002938/0.4574, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 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.0001983/0.4576, allocations: 99.23 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.4577, allocations: 8 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4577, allocations: 0 / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.4578, allocations: 4 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.4579, allocations: 8.406 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.4584, allocations: 87.91 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/0.4585, allocations: 55.36 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.423e-05/0.4585, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.4585, allocations: 11.38 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/0.4585, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of Templates: time 0.002893/0.4614, allocations: 160.8 kB / 1.328 GB, free: 14.83 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.040499404072762]