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.001836/0.001836, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002208/0.002208, allocations: 204 kB / 20.09 MB, free: 2.977 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.951/2.951, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002034/0.002034, allocations: 71.88 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8367, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001446/0.8382, allocations: 0.5873 MB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.8392, allocations: 1.152 MB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.8392, allocations: 0 / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.8392, allocations: 0 / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.8393, allocations: 11.92 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.8397, allocations: 128 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.8398, allocations: 80.44 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.8398, allocations: 10.5 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.8399, allocations: 38.8 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.84, allocations: 31.73 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.84, allocations: 7.531 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-05/0.84, allocations: 20.25 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.8401, allocations: 3.438 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.8401, allocations: 35.08 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.8402, allocations: 85.61 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8402, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8402, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.8402, allocations: 0 / 1.324 GB, free: 23.63 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.0003386/0.8406, allocations: 375.2 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.8406, allocations: 16.75 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.8406, allocations: 4.188 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.854e-05/0.8407, allocations: 167.5 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.8407, allocations: 4.375 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.8407, allocations: 6.219 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.8408, allocations: 43.25 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.8408, allocations: 192 / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.8408, allocations: 3.938 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.8408, allocations: 0 / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.8409, allocations: 2.906 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.8411, allocations: 289.1 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.947e-05/0.8412, allocations: 29.33 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.8412, allocations: 15.14 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.423e-06/0.8412, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.8413, allocations: 65.56 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8413, allocations: 0 / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001576/0.8415, allocations: 61.98 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.8415, allocations: 59.41 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.8416, allocations: 109.6 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.8416, allocations: 31.52 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.8416, allocations: 84.2 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.8416, allocations: 10.27 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.8417, allocations: 28.55 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.8417, allocations: 314.3 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.8418, allocations: 27.66 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.8418, allocations: 51.2 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/0.8419, allocations: 83.53 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8419, allocations: 3.938 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002047/0.8421, allocations: 149.8 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.8421, allocations: 41.67 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.8421, allocations: 96 / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.8421, allocations: 4 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.355e-05/0.8422, allocations: 3.031 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.8422, allocations: 0 / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.8424, allocations: 24.52 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.8424, allocations: 6.688 kB / 1.326 GB, free: 21.67 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 4.923e-05/0.8424, allocations: 119.8 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.8424, allocations: 3.953 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.8425, allocations: 10.84 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.8425, allocations: 0 / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.8425, allocations: 0 / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8425, allocations: 3.375 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.378e-05/0.8425, allocations: 158.6 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8425, allocations: 0 / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-06/0.8425, allocations: 14 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.8425, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.8425, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8425, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8425, allocations: 0 / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.5e-05/0.8426, allocations: 84.53 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.8426, allocations: 88.33 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.8427, allocations: 320 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.8427, allocations: 2.844 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.8427, allocations: 4 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.8427, allocations: 2.844 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.287e-05/0.8427, allocations: 85.48 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8427, allocations: 4 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002052/0.8429, allocations: 17.09 kB / 1.327 GB, free: 21.05 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 9.253e-05/0.843, allocations: 108 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.8432, allocations: 103.8 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8432, allocations: 0 / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/0.8432, allocations: 13.55 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.8434, allocations: 9.688 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.8436, allocations: 161.3 kB / 1.327 GB, free: 20.72 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.328e-05/0.8437, allocations: 0.6779 MB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.8437, allocations: 10.34 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.8437, allocations: 3.938 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of Templates: time 0.002266/0.846, allocations: 0.8795 MB / 1.329 GB, free: 19.95 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.25494111199805]