Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 181.6 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 12 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6613/0.6617, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0007832/0.6625, allocations: 328.5 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.664, allocations: 1.113 MB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.6641, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.6641, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.6642, allocations: 7.922 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.6647, allocations: 107.6 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.6648, allocations: 79.83 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.6649, allocations: 8 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.665, allocations: 31.91 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.6651, allocations: 27.91 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.6651, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.6652, allocations: 15.98 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.6652, allocations: 4 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.6653, allocations: 53.59 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.6654, allocations: 51.89 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6654, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.083e-06/0.6654, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.6654, allocations: 7.938 kB / 1.025 GB, free: 14.02 MB / 0.7794 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.0003847/0.6658, allocations: 363.2 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6659, allocations: 8.031 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.6659, allocations: 4.938 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.666, allocations: 172.2 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.6661, allocations: 4.375 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.6661, allocations: 4.375 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.245e-05/0.6662, allocations: 38.25 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.6662, allocations: 4.188 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.6662, allocations: 7.938 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6662, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.072e-05/0.6663, allocations: 4 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.6666, allocations: 284.9 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.6667, allocations: 30.45 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.6667, allocations: 4.859 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.6667, allocations: 4 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.6669, allocations: 59.45 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 3.337e-06/0.6669, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001945/0.6671, allocations: 69.56 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.6671, allocations: 51.41 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.6672, allocations: 113.8 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.6673, allocations: 25.7 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.6673, allocations: 96.12 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.6673, allocations: 3.906 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.6674, allocations: 21.7 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6675, allocations: 314.8 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.6676, allocations: 23.98 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.6677, allocations: 54.55 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.6678, allocations: 84.44 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6678, allocations: 3.938 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002444/0.668, allocations: 143.3 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.6681, allocations: 37.7 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.6681, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6681, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.685e-05/0.6681, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6681, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.6684, allocations: 44.05 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.6684, allocations: 4 kB / 1.027 GB, free: 11.7 MB / 0.7794 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.504e-05/0.6685, allocations: 121.7 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.6685, allocations: 7.906 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.6686, allocations: 8.219 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6686, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.6686, allocations: 7.922 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6686, allocations: 4 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.6687, allocations: 161.6 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6688, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-06/0.6688, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6688, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.6688, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6688, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6688, allocations: 3.984 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.6689, allocations: 85.06 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.669, allocations: 77.11 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.669, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.669, allocations: 11.94 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.669, allocations: 7.922 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.669, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.6691, allocations: 83.28 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6691, allocations: 4 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002162/0.6693, allocations: 16 kB / 1.028 GB, free: 11.02 MB / 0.7794 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.0001498/0.6695, allocations: 107.2 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.6697, allocations: 115.4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6697, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.6697, allocations: 15.94 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.67, allocations: 16.11 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.6702, allocations: 152.5 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.6705, allocations: 0.677 MB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.6705, allocations: 11.44 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6705, allocations: 0 / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of Templates: time 0.002561/0.6731, allocations: 0.8962 MB / 1.03 GB, free: 8.965 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches