Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009677/0.0009677, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001061/0.001061, allocations: 178.2 kB / 23.22 MB, free: 1.344 MB / 18.57 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.9212/0.9212, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.614/1.614, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.596e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001219/0.001245, allocations: 0.5869 MB / 0.9523 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.00235, allocations: 1.136 MB / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.00239, allocations: 0 / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.002417, allocations: 3.938 kB / 0.9534 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.002476, allocations: 4 kB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.002906, allocations: 118.5 kB / 0.9535 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.003037, allocations: 91.81 kB / 0.9536 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.003121, allocations: 4 kB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.802e-05/0.003199, allocations: 51.91 kB / 0.9536 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.003284, allocations: 31.94 kB / 0.9537 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.003304, allocations: 8 kB / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.003358, allocations: 12 kB / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.003376, allocations: 11.98 kB / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.003416, allocations: 19.98 kB / 0.9537 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.003561, allocations: 103.7 kB / 0.9538 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.003564, allocations: 3.984 kB / 0.9538 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003565, allocations: 0 / 0.9538 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.003569, allocations: 0 / 0.9538 GB, free: 0.8281 MB / 0.9011 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.0003668/0.003936, allocations: 300 kB / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.00397, allocations: 15.97 kB / 0.9541 GB, free: 492 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.004012, allocations: 12.83 kB / 0.9541 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.34e-05/0.004086, allocations: 105.8 kB / 0.9542 GB, free: 348 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.004097, allocations: 384 / 0.9542 GB, free: 348 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.004112, allocations: 4.375 kB / 0.9542 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.004205, allocations: 67.95 kB / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.004213, allocations: 192 / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.004224, allocations: 4.359 kB / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.00423, allocations: 384 / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.004253, allocations: 7.938 kB / 0.9543 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.004539, allocations: 220.5 kB / 0.9545 GB, free: 0 / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.359e-05/0.004583, allocations: 26.61 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.004597, allocations: 12.92 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.004604, allocations: 0 / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.004726, allocations: 85.09 kB / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.004726, allocations: 0 / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0001649/0.004891, allocations: 65.52 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.004927, allocations: 59.41 kB / 0.9548 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.004988, allocations: 113.7 kB / 0.9549 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.005004, allocations: 25.7 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.005041, allocations: 84.14 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.00505, allocations: 11.95 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.005093, allocations: 29.7 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.005177, allocations: 322.8 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.005243, allocations: 57.69 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.005312, allocations: 80.25 kB / 0.9555 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.005387, allocations: 84.2 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.005389, allocations: 0 / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000173/0.005562, allocations: 169 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.005596, allocations: 49.72 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.0056, allocations: 0 / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.005611, allocations: 0 / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.526e-05/0.005626, allocations: 4 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.005631, allocations: 0 / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.005763, allocations: 27.92 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.005776, allocations: 4 kB / 0.9558 GB, free: 14.57 MB / 0.9167 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 6.639e-05/0.005842, allocations: 121.8 kB / 0.9559 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.005848, allocations: 8.312 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.005869, allocations: 7.938 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.005871, allocations: 0 / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.005877, allocations: 8 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.00588, allocations: 0 / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.436e-05/0.005945, allocations: 109.2 kB / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005946, allocations: 0 / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-06/0.005949, allocations: 0 / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.005951, allocations: 0 / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.005957, allocations: 4 kB / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.005959, allocations: 3.938 kB / 0.956 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00596, allocations: 4 kB / 0.956 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.758e-05/0.006037, allocations: 89.09 kB / 0.9561 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.006047, allocations: 0 / 0.9561 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.006057, allocations: 0 / 0.9561 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.006069, allocations: 11.88 kB / 0.9561 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.006092, allocations: 0 / 0.9561 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.006098, allocations: 7.922 kB / 0.9561 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.006129, allocations: 87.28 kB / 0.9562 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006129, allocations: 0 / 0.9562 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001444/0.006274, allocations: 12 kB / 0.9562 GB, free: 14.04 MB / 0.9167 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.0001171/0.006391, allocations: 115.2 kB / 0.9564 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.006554, allocations: 129.1 kB / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006556, allocations: 0 / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.21e-05/0.006578, allocations: 15.94 kB / 0.9565 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.006735, allocations: 10.17 kB / 0.9565 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.006969, allocations: 146.5 kB / 0.9566 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.007011, allocations: 63.34 kB / 0.9567 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.007028, allocations: 16.69 kB / 0.9567 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.007029, allocations: 0 / 0.9567 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of Templates: time 0.002061/0.00909, allocations: 0.9071 MB / 0.9576 GB, free: 12.58 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.485557412728667]