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.002052/0.002052, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002713/0.002713, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.892/2.892, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.304e-06/2.304e-06, allocations: 0 / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.606e-05/3.836e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001939/0.001978, allocations: 0.6065 MB / 0.8114 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.003773, allocations: 1.128 MB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.003817, allocations: 0 / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.003847, allocations: 4.906 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.003917, allocations: 7.922 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.004437, allocations: 117.4 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.004617, allocations: 91.81 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.004692, allocations: 7.984 kB / 0.8127 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.004813, allocations: 45 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.004908, allocations: 27.89 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.004934, allocations: 8 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.005007, allocations: 24.77 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.005023, allocations: 0 / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.005083, allocations: 21.67 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.005298, allocations: 103.7 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005301, allocations: 0 / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005302, allocations: 0 / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.005305, allocations: 1.531 kB / 0.8129 GB, free: 15.95 MB / 0.7761 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.0004884/0.005794, allocations: 300 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.005833, allocations: 8.031 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.005896, allocations: 12.92 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.006025, allocations: 106.9 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.006046, allocations: 8.375 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.006068, allocations: 4.375 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.006185, allocations: 65.55 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.006193, allocations: 192 / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.006202, allocations: 384 / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.006206, allocations: 384 / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.006238, allocations: 18.47 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.006619, allocations: 216.5 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/0.006678, allocations: 22.58 kB / 0.8136 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.0067, allocations: 8.844 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.006711, allocations: 4.062 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.006886, allocations: 89.03 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.006887, allocations: 0.7188 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002336/0.00712, allocations: 69.59 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.007172, allocations: 55.94 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.007294, allocations: 109.8 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.007326, allocations: 27.36 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.007396, allocations: 88.09 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.007405, allocations: 0 / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.007478, allocations: 29.7 kB / 0.8141 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.007658, allocations: 327.5 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.007763, allocations: 61.62 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.007888, allocations: 81.16 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.008011, allocations: 73.75 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008013, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000329/0.008342, allocations: 186.3 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.008394, allocations: 41.64 kB / 0.8148 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.008401, allocations: 11.88 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.008423, allocations: 5.734 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-05/0.008441, allocations: 4 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.008446, allocations: 0 / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.008663, allocations: 24.81 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.008684, allocations: 4 kB / 0.8149 GB, free: 13.7 MB / 0.7761 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.0001265/0.008811, allocations: 118.3 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.008827, allocations: 4.828 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.008855, allocations: 11.94 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008857, allocations: 2.094 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.008862, allocations: 0 / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.008864, allocations: 0 / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.008983, allocations: 105.3 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008984, allocations: 0 / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-06/0.008993, allocations: 4 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.008995, allocations: 0.5312 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.009001, allocations: 2.562 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.009005, allocations: 3.938 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009006, allocations: 0 / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.009148, allocations: 89 kB / 0.8152 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.009159, allocations: 4 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.009172, allocations: 0 / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.837e-05/0.00919, allocations: 3.938 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.009217, allocations: 1.719 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.009225, allocations: 4 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.009291, allocations: 87.27 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009291, allocations: 0 / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000224/0.009515, allocations: 16 kB / 0.8153 GB, free: 13.2 MB / 0.7761 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.0001864/0.009701, allocations: 104.2 kB / 0.8154 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.009966, allocations: 142.7 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.009969, allocations: 0 / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.009997, allocations: 4 kB / 0.8156 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01023, allocations: 19.16 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.01061, allocations: 125 kB / 0.8157 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.216e-05/0.01069, allocations: 67.94 kB / 0.8158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.01071, allocations: 7.625 kB / 0.8158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.01074, allocations: 16.48 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01074, allocations: 0 / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of Templates: time 0.004631/0.01537, allocations: 1.201 MB / 0.817 GB, free: 11.52 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] 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: 7.847884621005505]