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.008164/0.008164, allocations: 100.3 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.001986/0.001986, allocations: 188.6 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.44/2.44, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 71.89 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7219, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002081/0.724, allocations: 0.7179 MB / 1.167 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.725, allocations: 0.8001 MB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.7251, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.7251, allocations: 3.938 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.739e-05/0.7252, allocations: 11.92 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.7254, allocations: 11.98 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.7255, allocations: 39.86 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.7256, allocations: 23.98 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.7257, allocations: 19.86 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.7257, allocations: 19.92 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.7257, allocations: 7.938 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.7258, allocations: 4 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.7258, allocations: 11.98 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.7258, allocations: 15.92 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.726, allocations: 39.81 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.726, allocations: 4 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.814e-06/0.726, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.726, allocations: 0 / 1.168 GB, free: 2.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005415/0.7265, allocations: 371 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.7266, allocations: 8.625 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.7266, allocations: 30.75 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.7267, allocations: 8.891 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.7268, allocations: 160.4 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.7268, allocations: 8.375 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.7268, allocations: 4.375 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.7271, allocations: 74.14 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7271, allocations: 3.938 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.7271, allocations: 4 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.7271, allocations: 0 / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.7274, allocations: 67.92 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.7278, allocations: 264.9 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.728, allocations: 64.91 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.7282, allocations: 36.91 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.7282, allocations: 4 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.7283, allocations: 34.56 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.7283, allocations: 0 / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005674/0.7288, allocations: 125.8 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.7289, allocations: 55.41 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.729, allocations: 113.8 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.729, allocations: 25.7 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.7291, allocations: 92.06 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.7291, allocations: 7.906 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.7291, allocations: 17.72 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7292, allocations: 314.8 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.7294, allocations: 35.97 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.7296, allocations: 35.89 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.7298, allocations: 72.72 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7298, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003175/0.7302, allocations: 97.62 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.7302, allocations: 7.984 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.7302, allocations: 3.938 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.7302, allocations: 7.938 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.7304, allocations: 11.98 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7304, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.7305, allocations: 15.98 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.7305, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 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 8.797e-05/0.7306, allocations: 117.8 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.7306, allocations: 3.953 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/0.731, allocations: 109.5 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.731, allocations: 4 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.731, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.731, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.7312, allocations: 169.6 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7312, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.7314, allocations: 23.92 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.7314, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.7314, allocations: 3.984 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.7314, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7314, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.7318, allocations: 199.4 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.7318, allocations: 81.11 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.7318, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.732, allocations: 15.97 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.732, allocations: 4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.732, allocations: 4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.675e-05/0.7321, allocations: 87.27 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7321, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002282/0.7323, allocations: 8 kB / 1.171 GB, free: 14.77 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: 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.0007246/0.7331, allocations: 0.7357 MB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.7334, allocations: 68.2 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7334, allocations: 0 / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.7336, allocations: 43.84 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.7339, allocations: 11.98 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.7344, allocations: 147.2 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.7346, allocations: 0.6807 MB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.7347, allocations: 11.97 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.7347, allocations: 19.38 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7348, allocations: 0 / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.7526, allocations: 1.617 MB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/8.236, allocations: 3.078 kB / 1.174 GB, free: 11.43 MB / 0.9044 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