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.0007717/0.0007717, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001786, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0007201/0.0007201, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008869/0.001607, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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 0.9741/0.9741, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09591/1.07, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.868/1.868, allocations: 378.3 MB / 0.6079 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5624/2.43, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.934e-05, allocations: 5.516 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001314/0.001333, allocations: 0.6401 MB / 0.7303 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 2.067e-05/0.001354, allocations: 2.219 kB / 0.7303 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.001369, allocations: 0 / 0.7303 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.001391, allocations: 4 kB / 0.7303 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.394e-05/0.001405, allocations: 0 / 0.7303 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.699e-05/0.001422, allocations: 0 / 0.7303 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.732e-05/0.001479, allocations: 5.203 kB / 0.7303 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.001526, allocations: 0.6562 kB / 0.7303 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.001576, allocations: 8.75 kB / 0.7303 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.001605, allocations: 5.094 kB / 0.7303 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.001624, allocations: 1.406 kB / 0.7303 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-06/0.001631, allocations: 0 / 0.7303 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.001649, allocations: 1.531 kB / 0.7303 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.001666, allocations: 0 / 0.7303 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.516e-05/0.001741, allocations: 8.609 kB / 0.7303 GB, free: 3.758 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.001754, allocations: 0.7656 kB / 0.7303 GB, free: 3.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.92e-07/0.001755, allocations: 1 kB / 0.7303 GB, free: 3.758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.001768, allocations: 0 / 0.7303 GB, free: 3.758 MB / 0.698 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.0002622/0.00203, allocations: 210.1 kB / 0.7306 GB, free: 3.527 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.002065, allocations: 8.031 kB / 0.7306 GB, free: 3.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.002092, allocations: 5.562 kB / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.379e-05/0.002155, allocations: 105.8 kB / 0.7307 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.002164, allocations: 1.938 kB / 0.7307 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.002173, allocations: 384 / 0.7307 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.403e-05/0.002247, allocations: 30.95 kB / 0.7307 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.002253, allocations: 192 / 0.7307 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.002259, allocations: 1.781 kB / 0.7307 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.002263, allocations: 384 / 0.7307 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-06/0.002272, allocations: 8.531 kB / 0.7307 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.62e-05/0.002338, allocations: 61.05 kB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/0.002374, allocations: 19.11 kB / 0.7308 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.002391, allocations: 10.52 kB / 0.7308 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.002398, allocations: 3.984 kB / 0.7308 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.002419, allocations: 34.55 kB / 0.7308 GB, free: 3.184 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.00242, allocations: 1.734 kB / 0.7308 GB, free: 3.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 8.427e-05/0.002504, allocations: 33.64 kB / 0.7309 GB, free: 3.145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.002536, allocations: 55.91 kB / 0.7309 GB, free: 3.078 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.741e-05/0.002563, allocations: 91.45 kB / 0.731 GB, free: 2.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.002573, allocations: 25.7 kB / 0.731 GB, free: 2.949 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.943e-05/0.002592, allocations: 80.14 kB / 0.7311 GB, free: 2.867 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.002621, allocations: 0 / 0.7311 GB, free: 2.867 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.002645, allocations: 22.69 kB / 0.7311 GB, free: 2.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.002724, allocations: 315.6 kB / 0.7314 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-06/0.002731, allocations: 3.984 kB / 0.7314 GB, free: 2.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.002736, allocations: 5.281 kB / 0.7314 GB, free: 2.516 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.002756, allocations: 8.859 kB / 0.7314 GB, free: 2.504 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.002758, allocations: 1.719 kB / 0.7314 GB, free: 2.504 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.211e-05/0.00279, allocations: 33.64 kB / 0.7315 GB, free: 2.465 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.002803, allocations: 10.81 kB / 0.7315 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.002807, allocations: 0 / 0.7315 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.002819, allocations: 1.906 kB / 0.7315 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.002874, allocations: 0 / 0.7315 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.002877, allocations: 0 / 0.7315 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-06/0.002884, allocations: 0.6562 kB / 0.7315 GB, free: 2.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.002888, allocations: 4 kB / 0.7315 GB, free: 2.453 MB / 0.698 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.14e-05/0.002949, allocations: 114.9 kB / 0.7316 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-06/0.002952, allocations: 0.9844 kB / 0.7316 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.002967, allocations: 3.844 kB / 0.7316 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.002968, allocations: 0 / 0.7316 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.00297, allocations: 4 kB / 0.7316 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.002973, allocations: 1 kB / 0.7316 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.519e-05/0.003018, allocations: 61.84 kB / 0.7317 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.003019, allocations: 0.5312 kB / 0.7317 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-06/0.003024, allocations: 4 kB / 0.7317 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.00303, allocations: 5.172 kB / 0.7317 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.003031, allocations: 1.422 kB / 0.7317 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-06/0.003034, allocations: 0 / 0.7317 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.003036, allocations: 4.688 kB / 0.7317 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.003036, allocations: 0 / 0.7317 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.089e-05/0.003087, allocations: 62.3 kB / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-06/0.003093, allocations: 0 / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-06/0.003096, allocations: 0 / 0.7317 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.003106, allocations: 4.641 kB / 0.7318 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.003108, allocations: 4 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.284e-06/0.003115, allocations: 9.812 kB / 0.7318 GB, free: 2.137 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.003115, allocations: 0 / 0.7318 GB, free: 2.137 MB / 0.698 GB Notification: Performance of remove unused functions: time 8.33e-05/0.003198, allocations: 0 / 0.7318 GB, free: 2.137 MB / 0.698 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 6.802e-05/0.003266, allocations: 77.7 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.028e-05/0.003316, allocations: 14.53 kB / 0.7319 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.003322, allocations: 0 / 0.7319 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.003332, allocations: 11.66 kB / 0.7319 GB, free: 2.023 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.078e-05/0.003383, allocations: 7.922 kB / 0.7319 GB, free: 2.016 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.003691, allocations: 90.28 kB / 0.732 GB, free: 1.898 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.003721, allocations: 51.36 kB / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.222e-05/0.003734, allocations: 1.344 kB / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.003767, allocations: 51.36 kB / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.003767, allocations: 0 / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of Templates: time 0.001381/0.005148, allocations: 209.1 kB / 0.7323 GB, free: 1.578 MB / 0.698 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.876142858527601]