Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_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.00953/0.00953, allocations: 100.6 kB / 15.73 MB, free: 6.062 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.001778/0.001778, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001812, allocations: 67.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9496/0.9515, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00276/0.9543, allocations: 0.5792 MB / 1.221 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.9569, allocations: 1.116 MB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.957, allocations: 0 / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.84e-05/0.9571, allocations: 3.938 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.9572, allocations: 3.984 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009153/0.9581, allocations: 130.8 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.9584, allocations: 91.83 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.9585, allocations: 11.92 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.9586, allocations: 39.91 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.9588, allocations: 31.89 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.9589, allocations: 8 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.959, allocations: 23.98 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.959, allocations: 4 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.9592, allocations: 27.91 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.9594, allocations: 83.78 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.9595, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9595, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.9595, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 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.0007443/0.9602, allocations: 376.8 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.9603, allocations: 8.031 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.9604, allocations: 34.75 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.9605, allocations: 16.89 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.9607, allocations: 172.2 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.9607, allocations: 8.359 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.9608, allocations: 4.375 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.9609, allocations: 38.25 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.961, allocations: 3.938 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.961, allocations: 0 / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.961, allocations: 4 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.961, allocations: 0 / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.9617, allocations: 288.9 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.993e-05/0.9618, allocations: 22.45 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.9619, allocations: 12.92 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.9619, allocations: 0 / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.9621, allocations: 63.34 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/0.9621, allocations: 4 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003114/0.9625, allocations: 65.61 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.9625, allocations: 55.41 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.9627, allocations: 105.8 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.9628, allocations: 25.7 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.9629, allocations: 88.14 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.9629, allocations: 3.953 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.963, allocations: 29.7 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.9633, allocations: 314.8 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.9634, allocations: 35.97 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.9636, allocations: 42.56 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.9638, allocations: 92.08 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9638, allocations: 3.938 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004499/0.9643, allocations: 147.2 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.9644, allocations: 37.7 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.9644, allocations: 0 / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.9644, allocations: 4 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-05/0.9645, allocations: 3.984 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.9645, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.9648, allocations: 23.97 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.9649, allocations: 4 kB / 1.224 GB, free: 13.53 MB / 0.9512 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.0001896/0.9651, allocations: 129.8 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.9651, allocations: 0 / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.9652, allocations: 7.891 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9652, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.9652, allocations: 4.312 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9652, allocations: 240 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.9654, allocations: 165.6 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9655, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-06/0.9655, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.9655, allocations: 11.97 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.9655, allocations: 8 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.9655, allocations: 0 / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9655, allocations: 0 / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.9657, allocations: 81.02 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.9658, allocations: 81.11 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.9659, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.97e-05/0.9659, allocations: 3.984 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.9659, allocations: 7.938 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.966, allocations: 4 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.9661, allocations: 83.28 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9661, allocations: 0 / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004053/0.9665, allocations: 19.94 kB / 1.225 GB, free: 12.83 MB / 0.9512 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.0006894/0.9672, allocations: 0.6207 MB / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.9676, allocations: 123.3 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.9676, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/0.9677, allocations: 19.92 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.968, allocations: 4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.9706, allocations: 1.358 MB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.9711, allocations: 0.6806 MB / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.9711, allocations: 4 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.9712, allocations: 11.44 kB / 1.228 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of SimCode: time 1.302e-06/0.9712, allocations: 4 kB / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/1.002, allocations: 1.964 MB / 1.23 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/9.135, allocations: 17.45 kB / 1.23 GB, free: 7.973 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches