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.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.00108/0.00108, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002633, allocations: 444 kB / 10.41 MB, free: 276 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.0009925/0.0009925, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002278, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9863/0.9863, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1225/1.109, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.708/2.708, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3182/3.027, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.819 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.52e-05, allocations: 2.312 kB / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001138/0.001154, allocations: 0.6392 MB / 0.8196 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 2.316e-05/0.001177, allocations: 0 / 0.8196 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.001191, allocations: 4 kB / 0.8196 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.001213, allocations: 0 / 0.8196 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.227e-05/0.001225, allocations: 4 kB / 0.8196 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 1.447e-05/0.00124, allocations: 0 / 0.8196 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.546e-05/0.001305, allocations: 7.938 kB / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.00136, allocations: 0 / 0.8196 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.001408, allocations: 4 kB / 0.8196 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.871e-05/0.001437, allocations: 3.938 kB / 0.8196 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.001457, allocations: 0 / 0.8196 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-06/0.001463, allocations: 0 / 0.8196 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.00148, allocations: 0 / 0.8196 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.001499, allocations: 0 / 0.8196 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.69e-05/0.001566, allocations: 4 kB / 0.8196 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.001578, allocations: 4 kB / 0.8196 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.31e-07/0.001579, allocations: 0 / 0.8196 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.001593, allocations: 0 / 0.8196 GB, free: 1.781 MB / 0.7917 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.0004887/0.002081, allocations: 216.7 kB / 0.8198 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.002127, allocations: 12.03 kB / 0.8198 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.002156, allocations: 0.9375 kB / 0.8198 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.541e-05/0.002222, allocations: 101.8 kB / 0.8199 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.002231, allocations: 384 / 0.8199 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.002241, allocations: 384 / 0.8199 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.157e-05/0.002323, allocations: 34.25 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.00233, allocations: 192 / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.002337, allocations: 4.375 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.002344, allocations: 4.359 kB / 0.82 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-06/0.002353, allocations: 7.875 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.671e-05/0.00243, allocations: 68.98 kB / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.419e-05/0.002464, allocations: 14.58 kB / 0.8201 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.002486, allocations: 8.953 kB / 0.8201 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-06/0.002491, allocations: 0 / 0.8201 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.002512, allocations: 34.56 kB / 0.8201 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.002513, allocations: 0 / 0.8201 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001076/0.00262, allocations: 37.62 kB / 0.8201 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.002657, allocations: 55.41 kB / 0.8202 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.168e-05/0.002689, allocations: 89.86 kB / 0.8203 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.002698, allocations: 25.7 kB / 0.8203 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.17e-05/0.00272, allocations: 80.14 kB / 0.8204 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.002758, allocations: 0 / 0.8204 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.002781, allocations: 13.72 kB / 0.8204 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.00287, allocations: 318.8 kB / 0.8207 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.002878, allocations: 4 kB / 0.8207 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.002884, allocations: 4 kB / 0.8207 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.002909, allocations: 12.98 kB / 0.8207 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.002911, allocations: 0 / 0.8207 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.362e-05/0.002945, allocations: 33.69 kB / 0.8208 GB, free: 480 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.002961, allocations: 9.25 kB / 0.8208 GB, free: 472 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.002966, allocations: 0 / 0.8208 GB, free: 472 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.00298, allocations: 0 / 0.8208 GB, free: 472 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.003044, allocations: 0 / 0.8208 GB, free: 472 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.003048, allocations: 0 / 0.8208 GB, free: 472 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-06/0.003057, allocations: 4 kB / 0.8208 GB, free: 468 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.003064, allocations: 4 kB / 0.8208 GB, free: 464 kB / 0.7917 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 5.835e-05/0.003122, allocations: 113.8 kB / 0.8209 GB, free: 340 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-06/0.003125, allocations: 0 / 0.8209 GB, free: 340 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.003143, allocations: 6.984 kB / 0.8209 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.003146, allocations: 4 kB / 0.8209 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.003148, allocations: 0 / 0.8209 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.003151, allocations: 0 / 0.8209 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.934e-05/0.003201, allocations: 61.84 kB / 0.8209 GB, free: 252 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.003201, allocations: 0 / 0.8209 GB, free: 252 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-06/0.003207, allocations: 4 kB / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.003211, allocations: 3.938 kB / 0.821 GB, free: 244 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-07/0.003212, allocations: 7.938 kB / 0.821 GB, free: 236 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-06/0.003215, allocations: 0 / 0.821 GB, free: 236 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.003216, allocations: 0 / 0.821 GB, free: 236 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.003217, allocations: 0 / 0.821 GB, free: 236 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.77e-05/0.003264, allocations: 61.06 kB / 0.821 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.003272, allocations: 4 kB / 0.821 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-06/0.003275, allocations: 0 / 0.821 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.003286, allocations: 0 / 0.821 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.003288, allocations: 4 kB / 0.821 GB, free: 148 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 7.714e-06/0.003295, allocations: 4.859 kB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.003295, allocations: 32 / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of remove unused functions: time 8.488e-05/0.00338, allocations: 4 kB / 0.821 GB, free: 136 kB / 0.7917 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 8.147e-05/0.003462, allocations: 80.41 kB / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 6.207e-05/0.003524, allocations: 12.8 kB / 0.8211 GB, free: 28 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.003529, allocations: 0 / 0.8211 GB, free: 28 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.00354, allocations: 8.859 kB / 0.8211 GB, free: 16 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.456e-05/0.003605, allocations: 7.938 kB / 0.8211 GB, free: 8 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.004009, allocations: 102.4 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.004041, allocations: 55.36 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.505e-05/0.004056, allocations: 0 / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.004093, allocations: 47.38 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of SimCode: time 4e-07/0.004094, allocations: 0 / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of Templates: time 0.001565/0.005659, allocations: 213.7 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime/Buildings_latest_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: 5.5289479698985815]