Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Reals.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.008387/0.008387, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002195/0.002195, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.305/2.305, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.701/3.701, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3431, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.00212/0.3453, allocations: 0.6927 MB / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3464, allocations: 0.8199 MB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.3465, allocations: 3.938 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.3465, allocations: 0 / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.815e-05/0.3466, allocations: 15.8 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.3467, allocations: 11.98 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3468, allocations: 39.92 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.347, allocations: 11.98 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.3471, allocations: 23.92 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.3472, allocations: 15.92 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.3472, allocations: 4 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.3472, allocations: 4 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.3472, allocations: 4 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.3473, allocations: 27.84 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3474, allocations: 40.09 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3474, allocations: 0 / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3474, allocations: 0 / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3474, allocations: 0 / 1.168 GB, free: 5.535 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006545/0.3481, allocations: 367.3 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.3482, allocations: 15.97 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.3482, allocations: 34.75 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3483, allocations: 4.891 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.3485, allocations: 164.4 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3485, allocations: 384 / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.3485, allocations: 4.375 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.3488, allocations: 74.2 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3489, allocations: 3.938 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3489, allocations: 7.922 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3489, allocations: 0 / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.3492, allocations: 67.86 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.3497, allocations: 276.8 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.3499, allocations: 50.53 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3501, allocations: 48.91 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.3501, allocations: 3.984 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3501, allocations: 34.56 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3501, allocations: 0 / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005698/0.3507, allocations: 129.5 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.3508, allocations: 51.41 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3509, allocations: 109.8 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3509, allocations: 25.7 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.351, allocations: 92.12 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.351, allocations: 7.906 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.3511, allocations: 17.72 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3513, allocations: 314.8 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3514, allocations: 27.97 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3516, allocations: 35.97 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.3519, allocations: 80.59 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3519, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003614/0.3522, allocations: 101.6 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3523, allocations: 6.344 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3523, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3523, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3524, allocations: 15.98 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3524, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.996e-05/0.3525, allocations: 15.98 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3525, allocations: 4 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.614e-05/0.3526, allocations: 109.8 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.3527, allocations: 11.94 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.3531, allocations: 109.5 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3532, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3532, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3532, allocations: 4 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.3534, allocations: 169.6 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3534, allocations: 3.938 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.262e-05/0.3535, allocations: 16.36 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3535, allocations: 3.984 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.3535, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3536, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3536, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.354, allocations: 207.3 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.3541, allocations: 85.05 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3541, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3542, allocations: 15.97 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.3542, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3542, allocations: 0 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.3543, allocations: 95.27 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3543, allocations: 0 / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002163/0.3545, allocations: 8 kB / 1.171 GB, free: 2.223 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008043/0.3553, allocations: 0.7319 MB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.3557, allocations: 71.86 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3557, allocations: 0 / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3559, allocations: 39.97 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3563, allocations: 7.984 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.3569, allocations: 151 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3574, allocations: 0.6768 MB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.3574, allocations: 7.984 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.3575, allocations: 11.44 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of SimCode: time 2.645e-06/0.3575, allocations: 4 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.3825, allocations: 1.618 MB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.392/9.774, allocations: 12 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_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_Reals_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches