Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002405/0.002405, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002774/0.002774, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.62/1.62, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.169/3.169, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8108 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.909e-05/4.113e-05, allocations: 2.969 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001739/0.00178, allocations: 0.5885 MB / 0.8114 GB, free: 444 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.003485, allocations: 1.15 MB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.003522, allocations: 0.7812 kB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.003542, allocations: 0 / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.003613, allocations: 7.703 kB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.004058, allocations: 117 kB / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.004227, allocations: 87.88 kB / 0.8127 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/0.004294, allocations: 4 kB / 0.8127 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.004394, allocations: 47.91 kB / 0.8127 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.004484, allocations: 28.66 kB / 0.8128 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.004513, allocations: 11.94 kB / 0.8128 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.707e-05/0.00458, allocations: 20.91 kB / 0.8128 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.004596, allocations: 0 / 0.8128 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.826e-05/0.004654, allocations: 32.56 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.004834, allocations: 91.78 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004837, allocations: 0.5625 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004838, allocations: 1.25 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.004841, allocations: 0 / 0.8129 GB, free: 14.84 MB / 0.7292 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.0005284/0.00537, allocations: 405.9 kB / 0.8133 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.005407, allocations: 12.03 kB / 0.8133 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.00546, allocations: 11.14 kB / 0.8133 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.005578, allocations: 112.6 kB / 0.8134 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.005592, allocations: 4.375 kB / 0.8134 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.005613, allocations: 8.312 kB / 0.8134 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.005729, allocations: 67.95 kB / 0.8135 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.005742, allocations: 4.891 kB / 0.8135 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.005753, allocations: 384 / 0.8135 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.005756, allocations: 1.906 kB / 0.8135 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/0.00578, allocations: 7.938 kB / 0.8135 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.006178, allocations: 275.8 kB / 0.8138 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.798e-05/0.006246, allocations: 30.98 kB / 0.8138 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.006271, allocations: 16.91 kB / 0.8138 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.006279, allocations: 0 / 0.8138 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.006413, allocations: 95.27 kB / 0.8139 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.006414, allocations: 0 / 0.8139 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002072/0.006621, allocations: 70.09 kB / 0.814 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.00667, allocations: 59.88 kB / 0.814 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.006818, allocations: 169.9 kB / 0.8142 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.006852, allocations: 34.58 kB / 0.8142 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.006934, allocations: 126.9 kB / 0.8144 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.006945, allocations: 8.766 kB / 0.8144 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.007021, allocations: 39.36 kB / 0.8144 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002512/0.007272, allocations: 0.4889 MB / 0.8149 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.00738, allocations: 65.69 kB / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.00751, allocations: 98.11 kB / 0.815 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.007648, allocations: 92.69 kB / 0.8151 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.007649, allocations: 1.219 kB / 0.8151 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003231/0.007973, allocations: 193 kB / 0.8153 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.008024, allocations: 46.28 kB / 0.8154 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008029, allocations: 1.031 kB / 0.8154 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.008043, allocations: 0 / 0.8154 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-05/0.008062, allocations: 8.562 kB / 0.8154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.008067, allocations: 0 / 0.8154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.00824, allocations: 17.36 kB / 0.8154 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.008264, allocations: 11.98 kB / 0.8154 GB, free: 12.02 MB / 0.7292 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 0.000128/0.008392, allocations: 165.3 kB / 0.8155 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.008406, allocations: 4 kB / 0.8156 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.008431, allocations: 9.625 kB / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.008433, allocations: 0 / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.008436, allocations: 0 / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.008438, allocations: 0 / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.008568, allocations: 121.5 kB / 0.8157 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008569, allocations: 0 / 0.8157 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-06/0.008575, allocations: 0 / 0.8157 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.008576, allocations: 3.469 kB / 0.8157 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.008586, allocations: 3.984 kB / 0.8157 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.008594, allocations: 11.92 kB / 0.8157 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008594, allocations: 0 / 0.8157 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.008739, allocations: 96.61 kB / 0.8158 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.008746, allocations: 0 / 0.8158 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.008759, allocations: 4 kB / 0.8158 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.159e-05/0.008781, allocations: 7.938 kB / 0.8158 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.008814, allocations: 11.86 kB / 0.8158 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.00882, allocations: 4.5 kB / 0.8158 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.008894, allocations: 123.2 kB / 0.8159 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008894, allocations: 1.875 kB / 0.8159 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002027/0.009097, allocations: 20 kB / 0.816 GB, free: 11.38 MB / 0.7292 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.0001531/0.00925, allocations: 99.23 kB / 0.816 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.009525, allocations: 170 kB / 0.8162 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.009527, allocations: 0 / 0.8162 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.009569, allocations: 28.98 kB / 0.8162 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.009768, allocations: 9.859 kB / 0.8162 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.01006, allocations: 127.2 kB / 0.8164 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.108e-05/0.01013, allocations: 67.25 kB / 0.8164 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.702e-05/0.01015, allocations: 0.8438 kB / 0.8164 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.01018, allocations: 16.5 kB / 0.8164 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.01018, allocations: 1.281 kB / 0.8164 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.004568/0.01475, allocations: 1.201 MB / 0.8176 GB, free: 9.66 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.319663202040829]