Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.00199/0.00199, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002558/0.002558, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.277/3.277, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [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.002091/0.002091, allocations: 74.55 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3349, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00179/0.3366, allocations: 0.5867 MB / 1.365 GB, free: 13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3382, allocations: 1.128 MB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.3383, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.3383, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.3384, allocations: 11.92 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.3389, allocations: 126.5 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.339, allocations: 83.89 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.3391, allocations: 7.984 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.3392, allocations: 39.91 kB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.3393, allocations: 23.91 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3393, allocations: 8 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.3394, allocations: 27.86 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.3394, allocations: 4 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.3394, allocations: 27.91 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.3396, allocations: 83.78 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3396, allocations: 4 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3396, allocations: 0 / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3396, allocations: 0 / 1.367 GB, free: 11.42 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004669/0.3401, allocations: 303.9 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3401, allocations: 12.03 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.3402, allocations: 4.938 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3403, allocations: 106.5 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3403, allocations: 4.375 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.3403, allocations: 8.359 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3404, allocations: 59.97 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3404, allocations: 8.188 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3404, allocations: 3.938 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.3404, allocations: 0 / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.3405, allocations: 11.92 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.3408, allocations: 216.6 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.289e-05/0.3409, allocations: 22.58 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.3409, allocations: 4.859 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.3409, allocations: 3.938 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.3411, allocations: 93.05 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3411, allocations: 4 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001806/0.3412, allocations: 65.86 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.3413, allocations: 55.39 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.3414, allocations: 101.9 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.3414, allocations: 29.7 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3415, allocations: 92.12 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.3415, allocations: 3.953 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.3416, allocations: 29.7 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3417, allocations: 310.8 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3418, allocations: 65.61 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.3419, allocations: 76.27 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.342, allocations: 84.27 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.342, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002935/0.3423, allocations: 184.9 kB / 1.369 GB, free: 9.254 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.3423, allocations: 37.7 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3423, allocations: 0 / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3424, allocations: 3.938 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.426e-05/0.3424, allocations: 0 / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3424, allocations: 4 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.3426, allocations: 39.88 kB / 1.369 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.3426, allocations: 7.984 kB / 1.369 GB, free: 9.156 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.373e-05/0.3427, allocations: 114.5 kB / 1.369 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.3427, allocations: 7.938 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.3427, allocations: 4 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3427, allocations: 0 / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3427, allocations: 0 / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3427, allocations: 320 / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.3428, allocations: 113.3 kB / 1.369 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3429, allocations: 8 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-06/0.3429, allocations: 3.938 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3429, allocations: 0 / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3429, allocations: 3.984 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3429, allocations: 0 / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3429, allocations: 0 / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.343, allocations: 86.08 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.343, allocations: 11.94 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.343, allocations: 0 / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.491e-05/0.343, allocations: 0 / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.3431, allocations: 7.984 kB / 1.369 GB, free: 8.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.3431, allocations: 4 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.3431, allocations: 83.28 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3431, allocations: 0 / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002118/0.3433, allocations: 16 kB / 1.369 GB, free: 8.633 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001284/0.3434, allocations: 99.23 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.3437, allocations: 141 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3437, allocations: 0 / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.3437, allocations: 7.984 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.3439, allocations: 14.38 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.3442, allocations: 151.8 kB / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.463e-05/0.3442, allocations: 67.28 kB / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.3443, allocations: 11.44 kB / 1.37 GB, free: 8.074 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3443, allocations: 0 / 1.37 GB, free: 8.074 MB / 1.061 GB Notification: Performance of Templates: time 0.002587/0.3469, allocations: 0.905 MB / 1.37 GB, free: 7.176 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.31127166422084]