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.008876/0.008876, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001167/0.001167, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.351/1.351, 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 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 67.89 kB / 1.018 GB, free: 9.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.8359, allocations: 151.6 MB / 1.166 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002239/0.8382, allocations: 0.5962 MB / 1.167 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.84, allocations: 1.115 MB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.8401, allocations: 0 / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.8401, allocations: 4 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.699e-05/0.8402, allocations: 3.938 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.841, allocations: 119.7 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.8412, allocations: 95.88 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.8413, allocations: 11.98 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.8416, allocations: 31.92 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.8417, allocations: 39.81 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.8417, allocations: 15.94 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.8418, allocations: 23.98 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.8418, allocations: 0 / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.8419, allocations: 31.92 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.8421, allocations: 79.78 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8421, allocations: 0 / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.562e-06/0.8421, allocations: 0 / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8422, allocations: 0 / 1.168 GB, free: 1.66 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.0005471/0.8427, allocations: 376.8 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.8428, allocations: 8.625 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.8428, allocations: 34.75 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.8428, allocations: 8.891 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.843, allocations: 180.3 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.843, allocations: 4.375 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.843, allocations: 4.375 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.8431, allocations: 38.2 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8432, allocations: 3.938 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.8432, allocations: 3.984 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.8432, allocations: 0 / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.319e-05/0.8432, allocations: 8 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.8436, allocations: 280.9 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.304e-05/0.8437, allocations: 26.52 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.8437, allocations: 8.797 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.8437, allocations: 0 / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.8439, allocations: 63.45 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.8439, allocations: 0 / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002036/0.8441, allocations: 69.62 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.8441, allocations: 55.34 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.219e-05/0.8442, allocations: 105.8 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.8443, allocations: 33.7 kB / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.8443, allocations: 80.14 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.8443, allocations: 7.953 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.8444, allocations: 25.7 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.8446, allocations: 322.8 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-05/0.8447, allocations: 31.92 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/0.8448, allocations: 50.55 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.8449, allocations: 84.38 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8449, allocations: 0 / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002475/0.8451, allocations: 151.3 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.8452, allocations: 33.64 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.8452, allocations: 7.984 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.8452, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.198e-05/0.8453, allocations: 3.984 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.8453, allocations: 4 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.8455, allocations: 27.92 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.8455, allocations: 8 kB / 1.17 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 9.61e-05/0.8456, allocations: 117.9 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.8456, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.8457, allocations: 15.89 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.8457, allocations: 0 / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8457, allocations: 0 / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.8457, allocations: 0 / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.8458, allocations: 157.9 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8458, allocations: 4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.8458, allocations: 4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.8459, allocations: 7.938 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.8459, allocations: 3.984 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8459, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8459, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.846, allocations: 85.02 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.8461, allocations: 77.11 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.8461, allocations: 0 / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.795e-05/0.8461, allocations: 4 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.8462, allocations: 7.984 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.8462, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.8462, allocations: 83.28 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8462, allocations: 4 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002122/0.8464, allocations: 15.94 kB / 1.171 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.0005172/0.847, allocations: 0.6241 MB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.8472, allocations: 119.3 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8472, allocations: 3.938 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.8472, allocations: 15.98 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.8475, allocations: 11.94 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.8489, allocations: 1.358 MB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.8492, allocations: 0.6807 MB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.8492, allocations: 0 / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.8492, allocations: 11.44 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.8493, allocations: 0 / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.8675, allocations: 1.977 MB / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.713, allocations: 20.12 kB / 1.176 GB, free: 9.723 MB / 0.9044 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