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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002516/0.002516, allocations: 188.4 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.27/3.27, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=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 0.002019/0.002019, allocations: 64.28 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4293, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001876/0.4311, allocations: 0.5841 MB / 1.317 GB, free: 9.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.669e-05/0.4312, allocations: 0 / 1.317 GB, free: 9.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.4312, allocations: 0 / 1.317 GB, free: 9.129 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.4312, allocations: 4 kB / 1.317 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.567e-05/0.4313, allocations: 0 / 1.317 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.154e-05/0.4313, allocations: 0 / 1.317 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.4314, allocations: 11.88 kB / 1.317 GB, free: 9.113 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.4314, allocations: 3.984 kB / 1.317 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.69e-05/0.4315, allocations: 0 / 1.317 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.225e-05/0.4315, allocations: 0 / 1.317 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.4315, allocations: 0 / 1.317 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.4315, allocations: 0 / 1.317 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.4315, allocations: 0 / 1.317 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.4315, allocations: 8 kB / 1.317 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.475e-05/0.4316, allocations: 3.984 kB / 1.317 GB, free: 9.098 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4316, allocations: 4 kB / 1.317 GB, free: 9.094 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4316, allocations: 0 / 1.317 GB, free: 9.094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4316, allocations: 0 / 1.317 GB, free: 9.094 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.0003152/0.4319, allocations: 230.5 kB / 1.317 GB, free: 8.836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.432, allocations: 8.031 kB / 1.317 GB, free: 8.828 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.432, allocations: 0.9375 kB / 1.317 GB, free: 8.828 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.4321, allocations: 110.5 kB / 1.317 GB, free: 8.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.4321, allocations: 384 / 1.317 GB, free: 8.695 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.4321, allocations: 4.359 kB / 1.317 GB, free: 8.691 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.539e-05/0.4322, allocations: 34.27 kB / 1.317 GB, free: 8.652 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4322, allocations: 192 / 1.317 GB, free: 8.652 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4323, allocations: 15.81 kB / 1.317 GB, free: 8.637 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4323, allocations: 3.938 kB / 1.317 GB, free: 8.633 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.4323, allocations: 0 / 1.317 GB, free: 8.633 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.4324, allocations: 112.8 kB / 1.317 GB, free: 8.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.114e-05/0.4325, allocations: 18.61 kB / 1.317 GB, free: 8.453 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.4325, allocations: 16.84 kB / 1.317 GB, free: 8.434 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.4325, allocations: 0 / 1.317 GB, free: 8.434 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.4325, allocations: 38.61 kB / 1.317 GB, free: 8.387 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.4325, allocations: 0 / 1.317 GB, free: 8.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.00014/0.4327, allocations: 37.58 kB / 1.317 GB, free: 8.344 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.4327, allocations: 51.41 kB / 1.317 GB, free: 8.281 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/0.4328, allocations: 89.86 kB / 1.317 GB, free: 8.184 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.4328, allocations: 25.83 kB / 1.317 GB, free: 8.152 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.4328, allocations: 88.14 kB / 1.318 GB, free: 8.062 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.4329, allocations: 0 / 1.318 GB, free: 8.062 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.4329, allocations: 14.12 kB / 1.318 GB, free: 8.043 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.433, allocations: 310.8 kB / 1.318 GB, free: 7.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.433, allocations: 0 / 1.318 GB, free: 7.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.4331, allocations: 7.984 kB / 1.318 GB, free: 7.723 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.4331, allocations: 8.797 kB / 1.318 GB, free: 7.711 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4331, allocations: 4.062 kB / 1.318 GB, free: 7.707 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.16e-05/0.4331, allocations: 37.7 kB / 1.318 GB, free: 7.664 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4331, allocations: 4 kB / 1.318 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4332, allocations: 0 / 1.318 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4332, allocations: 3.938 kB / 1.318 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.4332, allocations: 4 kB / 1.318 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4332, allocations: 0 / 1.318 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.4332, allocations: 0 / 1.318 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.4332, allocations: 0 / 1.318 GB, free: 7.652 MB / 1.014 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.036e-05/0.4333, allocations: 111.3 kB / 1.318 GB, free: 7.535 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-06/0.4333, allocations: 3.984 kB / 1.318 GB, free: 7.531 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.4333, allocations: 6.938 kB / 1.318 GB, free: 7.523 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4333, allocations: 4 kB / 1.318 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4334, allocations: 0 / 1.318 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4334, allocations: 0 / 1.318 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.337e-05/0.4334, allocations: 116.8 kB / 1.318 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.4335, allocations: 0 / 1.318 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.4335, allocations: 7.938 kB / 1.318 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.4335, allocations: 0 / 1.318 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4335, allocations: 19.86 kB / 1.318 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4335, allocations: 0 / 1.318 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4335, allocations: 0 / 1.318 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.776e-05/0.4335, allocations: 57.08 kB / 1.318 GB, free: 7.262 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.4336, allocations: 11.95 kB / 1.318 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.4336, allocations: 3.938 kB / 1.318 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.4336, allocations: 0 / 1.318 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.4336, allocations: 3.984 kB / 1.318 GB, free: 7.242 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.4336, allocations: 4.031 kB / 1.318 GB, free: 7.238 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.4336, allocations: 79.28 kB / 1.318 GB, free: 7.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4336, allocations: 0 / 1.318 GB, free: 7.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001833/0.4338, allocations: 0 / 1.318 GB, free: 7.16 MB / 1.014 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.000125/0.4339, allocations: 91.25 kB / 1.318 GB, free: 7.059 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.986e-05/0.434, allocations: 7.938 kB / 1.318 GB, free: 7.051 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.434, allocations: 0 / 1.318 GB, free: 7.051 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.012e-06/0.434, allocations: 8.062 kB / 1.318 GB, free: 7.043 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.4342, allocations: 2.031 kB / 1.318 GB, free: 7.043 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.4344, allocations: 97.5 kB / 1.318 GB, free: 6.918 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4347, allocations: 0.6729 MB / 1.319 GB, free: 6.219 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.252e-05/0.4347, allocations: 0 / 1.319 GB, free: 6.219 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.4348, allocations: 7.438 kB / 1.319 GB, free: 6.211 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.4348, allocations: 0 / 1.319 GB, free: 6.211 MB / 1.014 GB Notification: Performance of Templates: time 0.002352/0.4371, allocations: 184.9 kB / 1.319 GB, free: 6.031 MB / 1.014 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.20185658428818]