Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001488/0.001488, allocations: 106.8 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 71.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8159, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001805/0.8177, allocations: 0.5845 MB / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.8192, allocations: 1.12 MB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.8192, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.8193, allocations: 0 / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.8194, allocations: 3.938 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.8199, allocations: 129.1 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.8201, allocations: 95.88 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.8202, allocations: 7.984 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.8203, allocations: 39.86 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.8204, allocations: 35.88 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.8204, allocations: 11.94 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.305e-05/0.8205, allocations: 23.98 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.8205, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.8206, allocations: 27.92 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.8208, allocations: 79.78 kB / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8208, allocations: 0 / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8208, allocations: 0 / 1.211 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.8208, allocations: 0 / 1.211 GB, free: 11.51 MB / 0.9356 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.0004675/0.8213, allocations: 377 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8213, allocations: 8.031 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.8214, allocations: 4.938 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.8215, allocations: 168.4 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.8215, allocations: 384 / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.8215, allocations: 4.375 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.8216, allocations: 46.19 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8217, allocations: 192 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.8217, allocations: 3.938 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.8217, allocations: 0 / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.8217, allocations: 7.984 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.8221, allocations: 288.8 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.869e-05/0.8222, allocations: 30.5 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.8222, allocations: 8.797 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.8222, allocations: 4.062 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.8223, allocations: 55.39 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.8224, allocations: 0 / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.8225, allocations: 65.69 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.8226, allocations: 51.41 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.8227, allocations: 113.8 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.8227, allocations: 29.7 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.8228, allocations: 88.12 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.8228, allocations: 7.906 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.8228, allocations: 29.7 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.8229, allocations: 310.8 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.823, allocations: 35.98 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.8231, allocations: 46.55 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.8232, allocations: 80.22 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.8232, allocations: 3.938 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002342/0.8235, allocations: 147.2 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.8235, allocations: 41.8 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8235, allocations: 3.938 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.8235, allocations: 0 / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.8236, allocations: 0 / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8236, allocations: 7.938 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.8238, allocations: 25.8 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.8238, allocations: 8.297 kB / 1.213 GB, free: 9.184 MB / 0.9356 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 8.703e-05/0.8239, allocations: 121.8 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.8239, allocations: 4 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.824, allocations: 3.906 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.824, allocations: 0 / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.824, allocations: 4 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.824, allocations: 3.984 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.8241, allocations: 165.6 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8241, allocations: 0 / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.8241, allocations: 0 / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.8241, allocations: 0 / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.8242, allocations: 3.938 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8242, allocations: 4 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8242, allocations: 3.984 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.8243, allocations: 88.95 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.8243, allocations: 77.39 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.8243, allocations: 0 / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.8244, allocations: 4 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.8244, allocations: 3.984 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.8244, allocations: 3.984 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.8245, allocations: 91.28 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8245, allocations: 0 / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002216/0.8247, allocations: 16 kB / 1.213 GB, free: 8.488 MB / 0.9356 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.0001287/0.8248, allocations: 103.2 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.825, allocations: 123.3 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8251, allocations: 0 / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.8251, allocations: 12.19 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.8253, allocations: 15.92 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.8256, allocations: 143.6 kB / 1.213 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.8258, allocations: 0.6768 MB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.8258, allocations: 19.38 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8259, allocations: 0 / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of Templates: time 0.002436/0.8283, allocations: 0.8863 MB / 1.215 GB, free: 6.445 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches