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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001632/0.001632, allocations: 110.2 kB / 16.41 MB, free: 6.469 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.001699/0.001699, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.547/1.547, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.823/2.823, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9376/0.9395, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001808/0.9414, allocations: 0.5935 MB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.9429, allocations: 1.115 MB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.943, allocations: 7.938 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.943, allocations: 3.938 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.9431, allocations: 3.984 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.9436, allocations: 123.5 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.9438, allocations: 99.83 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.9439, allocations: 4 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.9439, allocations: 39.89 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.944, allocations: 27.95 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.9441, allocations: 8 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.9441, allocations: 20 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.9442, allocations: 15.92 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.9442, allocations: 27.91 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.9444, allocations: 75.84 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.9444, allocations: 8 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9444, allocations: 0 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.9444, allocations: 0 / 1.169 GB, free: 1.613 MB / 0.8887 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.0006644/0.9451, allocations: 377.6 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9452, allocations: 8.922 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.9452, allocations: 8.891 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.9454, allocations: 164.4 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.9455, allocations: 8.312 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.9455, allocations: 4.375 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.9457, allocations: 42.25 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9457, allocations: 192 / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.9457, allocations: 3.938 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.9457, allocations: 0 / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.702e-05/0.9458, allocations: 11.98 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.9463, allocations: 284.8 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/0.9464, allocations: 30.45 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.9464, allocations: 12.92 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.9465, allocations: 0 / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.9466, allocations: 59.39 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.9466, allocations: 0 / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002609/0.9469, allocations: 65.58 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.947, allocations: 51.41 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.9471, allocations: 105.8 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.9472, allocations: 37.7 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.9472, allocations: 80.14 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.9473, allocations: 11.94 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.9474, allocations: 29.7 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.9476, allocations: 318.8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.9477, allocations: 27.98 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.9479, allocations: 50.55 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.948, allocations: 84.44 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9481, allocations: 3.938 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000334/0.9484, allocations: 147.3 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.9485, allocations: 33.7 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.9485, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.9485, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.61e-05/0.9485, allocations: 4.094 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.9485, allocations: 4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.9487, allocations: 35.86 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.9488, allocations: 7.984 kB / 1.171 GB, free: 15.28 MB / 0.9044 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.0001098/0.9489, allocations: 113.8 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.9489, allocations: 4 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.9489, allocations: 11.84 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9489, allocations: 4 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.9489, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.9489, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.9491, allocations: 169.6 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9491, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-06/0.9491, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.9491, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.9491, allocations: 320 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9491, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9492, allocations: 8 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.9493, allocations: 89 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.9493, allocations: 77.11 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.9494, allocations: 4 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.444e-05/0.9494, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.9494, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.9494, allocations: 3.984 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.9495, allocations: 91.22 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9495, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002082/0.9497, allocations: 12 kB / 1.172 GB, free: 14.6 MB / 0.9044 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.0001607/0.9499, allocations: 115.2 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.9501, allocations: 115.4 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9501, allocations: 0 / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.9502, allocations: 15.94 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.9504, allocations: 15.86 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.9507, allocations: 118.2 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.9511, allocations: 0.6807 MB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.9511, allocations: 0 / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.9511, allocations: 11.44 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9511, allocations: 0 / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of Templates: time 0.003821/0.9549, allocations: 1.077 MB / 1.174 GB, free: 12.4 MB / 0.9044 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 -s cvode -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