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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008762/0.0008761, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005277/0.005277, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 8 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5728, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.0005967/0.5735, allocations: 386.4 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 8.184e-05/0.5736, allocations: 19.91 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.5736, allocations: 4 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.5737, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.557e-05/0.5737, allocations: 7.938 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.613e-05/0.5737, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.5738, allocations: 27.92 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.5739, allocations: 27.98 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.548e-05/0.5739, allocations: 7.938 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.007e-05/0.5739, allocations: 7.938 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.5739, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-06/0.574, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.574, allocations: 11.91 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.574, allocations: 45.58 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.3e-05/0.5741, allocations: 39.88 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.5741, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.11e-07/0.5741, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.325e-06/0.5741, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.7794 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.0002176/0.5743, allocations: 341.6 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.5744, allocations: 8.031 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.834e-05/0.5744, allocations: 38.73 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.754e-05/0.5744, allocations: 4.938 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.5745, allocations: 192.2 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-06/0.5745, allocations: 384 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.5746, allocations: 8.375 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.5747, allocations: 70.23 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5747, allocations: 3.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.5747, allocations: 7.984 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.5747, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.5748, allocations: 47.97 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.5751, allocations: 495 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.446e-05/0.5752, allocations: 173.1 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.5752, allocations: 80.14 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.5753, allocations: 79.27 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5753, allocations: 105.8 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.5753, allocations: 4 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.466e-05/0.5754, allocations: 33.61 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.5754, allocations: 130.6 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.5755, allocations: 169.8 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.587e-06/0.5756, allocations: 29.64 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.5756, allocations: 96.12 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.5756, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.5756, allocations: 13.72 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.5757, allocations: 314.8 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.5757, allocations: 11.98 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.5758, allocations: 8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.5758, allocations: 20.78 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5758, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.45e-05/0.5759, allocations: 49.59 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.5759, allocations: 9.875 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.5759, allocations: 3.984 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.5759, allocations: 4.094 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.962e-05/0.576, allocations: 15.88 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.576, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.576, allocations: 7.906 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.576, allocations: 0 / 1.026 GB, free: 12.49 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 7.59e-05/0.5761, allocations: 193.6 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.5761, allocations: 101 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.5762, allocations: 120.8 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.554e-05/0.5762, allocations: 192.1 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.422e-05/0.5763, allocations: 176.3 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-05/0.5763, allocations: 184.2 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.5765, allocations: 417.2 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/0.5766, allocations: 104.9 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.5766, allocations: 113 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-05/0.5767, allocations: 180.3 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.5767, allocations: 180.3 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-05/0.5768, allocations: 184.1 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.811e-05/0.5768, allocations: 184.2 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.5769, allocations: 311.7 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.577, allocations: 189.9 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.5771, allocations: 184.2 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.5771, allocations: 108.9 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.5772, allocations: 180.3 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.5772, allocations: 109.3 kB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.424e-05/0.5773, allocations: 127.2 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5773, allocations: 0 / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001945/0.5775, allocations: 4 kB / 1.03 GB, free: 8.801 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.0003159/0.5778, allocations: 0.8164 MB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.029e-05/0.5779, allocations: 20.03 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.5779, allocations: 0 / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.5779, allocations: 0 / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.5782, allocations: 0.5301 MB / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.5793, allocations: 1.614 MB / 1.032 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.5795, allocations: 0.6887 MB / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.5795, allocations: 15.92 kB / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.5795, allocations: 15.42 kB / 1.033 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5795, allocations: 0 / 1.033 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2325/0.812, allocations: 1.407 MB / 1.035 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000362/0.8124, allocations: 204.1 kB / 1.035 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.452, allocations: 4 kB / 1.035 GB, free: 3.414 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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