Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001569/0.001569, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002147/0.002147, allocations: 224.2 kB / 23 MB, free: 4.91 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.401/3.401, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [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.002179/0.002179, allocations: 70.02 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3536, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.0021/0.3557, allocations: 0.6711 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3568, allocations: 0.8397 MB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.3569, allocations: 4 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.3569, allocations: 3.984 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.3569, allocations: 3.938 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.3571, allocations: 8 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.3572, allocations: 27.86 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3573, allocations: 8 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.3574, allocations: 3.984 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.3574, allocations: 15.94 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3574, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.798e-05/0.3575, allocations: 7.984 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.3575, allocations: 7.984 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.3575, allocations: 3.938 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.3576, allocations: 23.91 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3576, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3576, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3577, allocations: 0 / 1.366 GB, free: 11.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004752/0.3581, allocations: 258.4 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3582, allocations: 12.03 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.914e-05/0.3583, allocations: 24.75 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3584, allocations: 102.5 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3584, allocations: 384 / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3584, allocations: 4.375 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3586, allocations: 50.23 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3586, allocations: 192 / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3586, allocations: 3.938 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3586, allocations: 0 / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3588, allocations: 35.97 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.3591, allocations: 196.6 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3593, allocations: 34.56 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.3593, allocations: 16.91 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.3594, allocations: 7.922 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3594, allocations: 34.56 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3594, allocations: 0 / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003548/0.3598, allocations: 85.58 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3598, allocations: 55.41 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.3599, allocations: 97.86 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.3599, allocations: 25.7 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.36, allocations: 84.09 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.36, allocations: 19.86 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.36, allocations: 13.72 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3602, allocations: 315 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.3602, allocations: 23.92 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.717e-05/0.3603, allocations: 11.98 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.3605, allocations: 40.81 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3605, allocations: 0 / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.3607, allocations: 77.59 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3607, allocations: 4 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3607, allocations: 0 / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3607, allocations: 0 / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.3608, allocations: 8 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3608, allocations: 0 / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.3608, allocations: 11.98 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.3608, allocations: 0 / 1.368 GB, free: 10.11 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 (2): * Single equations (assignments): 2 * 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.405e-05/0.3609, allocations: 106.9 kB / 1.368 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.3609, allocations: 15.91 kB / 1.368 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.3612, allocations: 76.89 kB / 1.368 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3612, allocations: 0 / 1.368 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3612, allocations: 4 kB / 1.368 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3612, allocations: 0 / 1.368 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3613, allocations: 97.33 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3613, allocations: 0 / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.3614, allocations: 12.17 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3614, allocations: 3.969 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3614, allocations: 12 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3614, allocations: 0 / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3614, allocations: 3.984 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3616, allocations: 159.5 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.3616, allocations: 3.938 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3617, allocations: 3.984 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.3617, allocations: 8 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3618, allocations: 4 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3618, allocations: 11.95 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.3618, allocations: 79.28 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3618, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002132/0.362, allocations: 4 kB / 1.368 GB, free: 9.449 MB / 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 (2): * Single equations (assignments): 2 * 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.0001202/0.3622, allocations: 91.25 kB / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.3624, allocations: 39.95 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3624, allocations: 64 / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.3625, allocations: 19.98 kB / 1.369 GB, free: 9.289 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3628, allocations: 6.031 kB / 1.369 GB, free: 9.285 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.3631, allocations: 135.3 kB / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.3631, allocations: 63.28 kB / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.3632, allocations: 7.438 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3632, allocations: 0 / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of Templates: time 0.001991/0.3652, allocations: 0.5477 MB / 1.369 GB, free: 8.488 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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: 11.182842634152621]