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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009927/0.009927, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.002556/0.002556, allocations: 196.8 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.29/2.29, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.678/3.678, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4521, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002635/0.4548, allocations: 0.5913 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.4567, allocations: 1.117 MB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.4568, allocations: 4 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.4568, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.457, allocations: 3.938 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.4576, allocations: 127.1 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.4578, allocations: 95.81 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4579, allocations: 11.94 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.458, allocations: 35.91 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.4582, allocations: 27.95 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.4582, allocations: 8 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.114e-05/0.4583, allocations: 23.98 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.4583, allocations: 11.92 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.4584, allocations: 31.92 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.4586, allocations: 76.06 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4586, allocations: 4 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4586, allocations: 0 / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.4586, allocations: 0 / 1.168 GB, free: 5.172 MB / 0.92 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.000572/0.4592, allocations: 377.1 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4593, allocations: 8.031 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.4593, allocations: 30.75 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.4593, allocations: 12.83 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.4595, allocations: 176.3 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4595, allocations: 384 / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.4596, allocations: 4.375 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.4597, allocations: 42.25 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4597, allocations: 3.938 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.4597, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4597, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.676e-05/0.4597, allocations: 7.984 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.4602, allocations: 284.9 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.4603, allocations: 30.45 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.4603, allocations: 8.844 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-06/0.4603, allocations: 0 / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.4605, allocations: 55.47 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.4605, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002298/0.4608, allocations: 77.56 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.4608, allocations: 51.41 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.4609, allocations: 105.8 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.461, allocations: 29.7 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.461, allocations: 84.14 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.4611, allocations: 7.953 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.4611, allocations: 25.7 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4613, allocations: 322.8 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.4614, allocations: 31.98 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.4615, allocations: 42.56 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.4616, allocations: 92.44 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4616, allocations: 3.938 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002796/0.4619, allocations: 143.4 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.462, allocations: 37.69 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.462, allocations: 8 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.462, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-05/0.462, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.462, allocations: 4 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.4622, allocations: 27.92 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.4623, allocations: 4 kB / 1.17 GB, free: 2.797 MB / 0.92 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.0001154/0.4624, allocations: 129.7 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.4624, allocations: 7.875 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.4624, allocations: 7.906 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4624, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4625, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4625, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.4626, allocations: 161.6 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4626, allocations: 7.984 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-06/0.4626, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4626, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.4627, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4627, allocations: 4 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4627, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.4628, allocations: 85.25 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.4629, allocations: 77.16 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.4629, allocations: 7.969 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.715e-05/0.4629, allocations: 4 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.4629, allocations: 0 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.4629, allocations: 0 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.463, allocations: 95.2 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.463, allocations: 4 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002153/0.4632, allocations: 12 kB / 1.171 GB, free: 2.102 MB / 0.92 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.0005243/0.4638, allocations: 0.6124 MB / 1.171 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.464, allocations: 127.3 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.464, allocations: 0 / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.4641, allocations: 12 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.4643, allocations: 13.89 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.466, allocations: 1.365 MB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4663, allocations: 0.6846 MB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.4663, allocations: 0 / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.4664, allocations: 11.44 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.4664, allocations: 0 / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.4946, allocations: 1.965 MB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.97, allocations: 8.656 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/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