Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",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.001311/0.001311, allocations: 108 kB / 15.61 MB, free: 152 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.001431/0.001432, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.427/2.427, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 71.89 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5665/0.5687, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001953/0.5707, allocations: 0.6514 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001306/0.5708, allocations: 11.94 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.5709, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.878e-05/0.571, allocations: 4 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.571, allocations: 3.938 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.502e-05/0.5711, allocations: 7.922 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.5712, allocations: 27.97 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.5713, allocations: 35.98 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.327e-05/0.5714, allocations: 11.94 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.328e-05/0.5714, allocations: 11.94 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.5714, allocations: 4 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.5714, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.5715, allocations: 11.92 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.5715, allocations: 23.81 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.018e-05/0.5716, allocations: 47.86 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5716, allocations: 4 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5716, allocations: 0 / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.5716, allocations: 0 / 1.018 GB, free: 1.641 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003493/0.572, allocations: 357.6 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5721, allocations: 8.031 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.5721, allocations: 38.75 kB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.5721, allocations: 4.844 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.5723, allocations: 176.3 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5723, allocations: 8.375 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.5723, allocations: 8.375 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.5725, allocations: 78.16 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5725, allocations: 7.875 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5725, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.5725, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.5726, allocations: 43.97 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.5731, allocations: 487 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.5732, allocations: 173.1 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.5732, allocations: 80.14 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.5733, allocations: 79.28 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.5733, allocations: 109.8 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.5733, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.771e-05/0.5734, allocations: 45.55 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.5735, allocations: 130.6 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.5736, allocations: 167.2 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.5736, allocations: 25.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.5737, allocations: 100 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.5737, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.5738, allocations: 13.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5739, allocations: 322.8 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.5739, allocations: 8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.5739, allocations: 7.984 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.574, allocations: 12.86 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.574, allocations: 3.938 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001196/0.5741, allocations: 61.59 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5741, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5741, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5741, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.5742, allocations: 12.03 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5742, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.5742, allocations: 7.906 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.5742, allocations: 0 / 1.021 GB, free: 14.87 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 (1): * Single equations (assignments): 1 * 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 0.0001015/0.5744, allocations: 197.1 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.5744, allocations: 112.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.5745, allocations: 112.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.377e-05/0.5745, allocations: 188.2 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.335e-05/0.5746, allocations: 184.2 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.857e-05/0.5747, allocations: 176.3 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.5749, allocations: 429.1 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.073e-05/0.575, allocations: 105 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.575, allocations: 101 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.737e-05/0.5751, allocations: 184.3 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.5751, allocations: 184.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.254e-05/0.5752, allocations: 184.1 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.254e-05/0.5753, allocations: 180.2 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.5754, allocations: 307.8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.5755, allocations: 186 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.5756, allocations: 192.2 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.5757, allocations: 104.9 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.5758, allocations: 176.3 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.5758, allocations: 112.9 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000102/0.5759, allocations: 137 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5759, allocations: 0 / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002174/0.5761, allocations: 4 kB / 1.024 GB, free: 11.16 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 (0): * Single equations (assignments): 0 * 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.0004569/0.5766, allocations: 0.8087 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.038e-05/0.5767, allocations: 20.28 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5767, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.5767, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.5772, allocations: 465.3 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.5784, allocations: 1.608 MB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.5787, allocations: 0.6924 MB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.5787, allocations: 8 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.5788, allocations: 19.42 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5788, allocations: 0 / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.5942, allocations: 1.596 MB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.668, allocations: 5.984 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_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_MultiMax.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches