Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Reals.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_11_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.007899/0.007899, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002102/0.002102, allocations: 194.8 kB / 16.67 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3559, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001988/0.3579, allocations: 0.7089 MB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.3589, allocations: 0.8019 MB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.359, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.359, allocations: 7.938 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.3591, allocations: 3.938 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.3592, allocations: 11.98 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.3593, allocations: 51.78 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.3594, allocations: 8 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.3595, allocations: 19.97 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.3595, allocations: 15.92 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3596, allocations: 4 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.673e-05/0.3596, allocations: 11.94 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.3596, allocations: 11.92 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.3597, allocations: 15.94 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.3598, allocations: 43.8 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3598, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3598, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.3598, allocations: 4 kB / 1.222 GB, free: 12.54 MB / 0.9825 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.0005532/0.3604, allocations: 359.3 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3604, allocations: 16.03 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.3605, allocations: 34.75 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.3605, allocations: 8.891 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3607, allocations: 172.3 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3607, allocations: 384 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3607, allocations: 4.375 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.361, allocations: 66.22 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.361, allocations: 3.938 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.361, allocations: 4 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.361, allocations: 4 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.3613, allocations: 63.91 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.3617, allocations: 276.8 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.362, allocations: 54.64 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3621, allocations: 40.81 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3622, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3622, allocations: 34.56 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3622, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005767/0.3628, allocations: 133.5 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3628, allocations: 51.41 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3629, allocations: 105.8 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.363, allocations: 29.7 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.363, allocations: 84.14 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.363, allocations: 19.84 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.3631, allocations: 17.7 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3632, allocations: 314.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3634, allocations: 31.97 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3636, allocations: 27.95 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3639, allocations: 80.72 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3639, allocations: 3.938 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003409/0.3642, allocations: 101.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3642, allocations: 4 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3642, allocations: 4 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3643, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3644, allocations: 15.98 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3644, allocations: 3.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.432e-05/0.3645, allocations: 19.92 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.3645, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 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.735e-05/0.3646, allocations: 117.8 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.3646, allocations: 4 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.365, allocations: 105.5 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.365, allocations: 0 / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3651, allocations: 0 / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3651, allocations: 0 / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3653, allocations: 173.6 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3653, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3654, allocations: 19.98 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3654, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3654, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3654, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3654, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.3658, allocations: 207.7 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.3659, allocations: 81.11 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3659, allocations: 0 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.366, allocations: 15.92 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.3661, allocations: 7.984 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3661, allocations: 0 / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.3661, allocations: 91.58 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3661, allocations: 0 / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002238/0.3664, allocations: 8 kB / 1.225 GB, free: 9.234 MB / 0.9825 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.0007968/0.3672, allocations: 0.7324 MB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.3675, allocations: 71.86 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3676, allocations: 0 / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.3677, allocations: 39.95 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.368, allocations: 9.656 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.3685, allocations: 166.9 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3688, allocations: 0.6768 MB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.3688, allocations: 4 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.3689, allocations: 11.44 kB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.3689, allocations: 0 / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3908, allocations: 1.633 MB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.319, allocations: 8.047 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches