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.001027/0.001027, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.398 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 2.497/2.497, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5493, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001836/0.5512, allocations: 0.7059 MB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007568/0.5519, allocations: 0.8001 MB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.552, allocations: 4 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.552, allocations: 3.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.5521, allocations: 7.922 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.433e-05/0.5522, allocations: 15.98 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.69e-05/0.5523, allocations: 47.8 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.5524, allocations: 15.98 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.5524, allocations: 11.94 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.5525, allocations: 27.91 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.5525, allocations: 4 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.5525, allocations: 4 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.5525, allocations: 7.938 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.5526, allocations: 19.91 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.372e-05/0.5527, allocations: 39.88 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5527, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.296e-06/0.5527, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.5527, allocations: 3.938 kB / 1.019 GB, free: 0.7188 MB / 0.7637 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.0004745/0.5532, allocations: 365.5 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.5532, allocations: 8.031 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.5532, allocations: 34.73 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.5533, allocations: 4.938 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.5534, allocations: 172.3 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.5534, allocations: 4.375 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.5534, allocations: 384 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.5537, allocations: 70.16 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5537, allocations: 3.938 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.5537, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.5537, allocations: 3.984 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.554, allocations: 63.94 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.5543, allocations: 260.9 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.5545, allocations: 66.47 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.5546, allocations: 40.92 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.5547, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.5547, allocations: 34.55 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.5547, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005089/0.5552, allocations: 129.5 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.5553, allocations: 55.41 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.5553, allocations: 117.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.5553, allocations: 25.7 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.5554, allocations: 88.12 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.5554, allocations: 11.84 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.5554, allocations: 13.72 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.5555, allocations: 318.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5557, allocations: 31.95 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.5558, allocations: 27.97 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.5561, allocations: 80.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5561, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003026/0.5564, allocations: 97.53 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5564, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5564, allocations: 11.88 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.5564, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.5566, allocations: 19.97 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5566, allocations: 3.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.5567, allocations: 11.98 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.5567, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 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 6.588e-05/0.5567, allocations: 117.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.5568, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.5571, allocations: 113.5 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.5571, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5571, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5572, allocations: 7.984 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.5573, allocations: 169.5 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5573, allocations: 4 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.5574, allocations: 15.92 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5574, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.5574, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5574, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5575, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.5578, allocations: 191.4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.5578, allocations: 77.11 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.5578, allocations: 8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.558, allocations: 11.98 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.558, allocations: 7.984 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.558, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.558, allocations: 87.27 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.558, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002102/0.5583, allocations: 11.91 kB / 1.022 GB, free: 13.43 MB / 0.7794 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.0005786/0.5588, allocations: 0.728 MB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.5592, allocations: 75.91 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5592, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.5593, allocations: 35.91 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.5596, allocations: 8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.56, allocations: 159.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.5602, allocations: 0.681 MB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.5602, allocations: 0 / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.5603, allocations: 23.36 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of SimCode: time 1.302e-06/0.5603, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.5762, allocations: 1.594 MB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/7.419, allocations: 10.2 kB / 1.025 GB, free: 10.1 MB / 0.7794 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