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.004486/0.004486, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001087/0.001087, allocations: 197.2 kB / 16.67 MB, free: 5.531 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.375/2.375, allocations: 437.1 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 63.91 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8663, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002546/0.8689, allocations: 0.6637 MB / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001649/0.8691, allocations: 4 kB / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.8692, allocations: 0 / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.8693, allocations: 11.86 kB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.8694, allocations: 11.98 kB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.731e-05/0.8695, allocations: 0 / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.8696, allocations: 27.92 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.8698, allocations: 31.98 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.8698, allocations: 15.94 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.778e-05/0.8698, allocations: 15.92 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.8699, allocations: 0 / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.8699, allocations: 4 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.8699, allocations: 11.94 kB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.87, allocations: 23.86 kB / 1.167 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.8701, allocations: 46.48 kB / 1.167 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8701, allocations: 8 kB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8701, allocations: 0 / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8702, allocations: 0 / 1.167 GB, free: 2.926 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004099/0.8706, allocations: 348.3 kB / 1.167 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.8706, allocations: 16.86 kB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.8707, allocations: 34.75 kB / 1.167 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.8707, allocations: 8.891 kB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.8709, allocations: 176.3 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.8709, allocations: 384 / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.8709, allocations: 8.375 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.8711, allocations: 82.22 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8712, allocations: 3.938 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.8712, allocations: 0 / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.8712, allocations: 0 / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.046e-05/0.8713, allocations: 55.84 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.8718, allocations: 495.1 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.878e-05/0.8719, allocations: 173.1 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.872, allocations: 80.14 kB / 1.168 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.872, allocations: 75.28 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.8721, allocations: 105.8 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/0.8721, allocations: 0 / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.817e-05/0.8722, allocations: 37.59 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.8723, allocations: 142.6 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.8725, allocations: 176.3 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.8725, allocations: 25.7 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.8726, allocations: 92.14 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.8726, allocations: 0 / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.8726, allocations: 17.7 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8728, allocations: 314.8 kB / 1.169 GB, free: 288 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.8728, allocations: 7.984 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.8728, allocations: 8 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.8729, allocations: 20.84 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8729, allocations: 0 / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001354/0.873, allocations: 53.58 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.873, allocations: 8 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8731, allocations: 0 / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8731, allocations: 0 / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.8731, allocations: 7.938 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.8732, allocations: 8.078 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.8732, allocations: 4 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.8732, allocations: 0 / 1.17 GB, free: 160 kB / 0.8887 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.0001302/0.8734, allocations: 197.1 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.429e-05/0.8735, allocations: 111.4 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.277e-05/0.8735, allocations: 112.8 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.094e-05/0.8736, allocations: 184.3 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.563e-05/0.8737, allocations: 200.1 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.837e-05/0.8738, allocations: 176.3 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.8741, allocations: 413.2 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.8741, allocations: 108.9 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.8742, allocations: 105 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.212e-05/0.8743, allocations: 188.2 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.8744, allocations: 180.2 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-05/0.8745, allocations: 180.2 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.582e-05/0.8745, allocations: 184.2 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.8747, allocations: 311.7 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.8748, allocations: 190 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.683e-05/0.8749, allocations: 176.3 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.875, allocations: 120.9 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.8751, allocations: 180.2 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.8752, allocations: 104.9 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001094/0.8753, allocations: 135.2 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8753, allocations: 4 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002667/0.8755, allocations: 4 kB / 1.173 GB, free: 12.44 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 (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.0004224/0.876, allocations: 0.8052 MB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.8761, allocations: 15.92 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8761, allocations: 0 / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.8761, allocations: 4 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.8765, allocations: 466.2 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.8779, allocations: 1.602 MB / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.8782, allocations: 0.6963 MB / 1.176 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.798e-05/0.8782, allocations: 8 kB / 1.176 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.8783, allocations: 15.42 kB / 1.176 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.8783, allocations: 0 / 1.176 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.9112, allocations: 1.629 MB / 1.178 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.675, allocations: 12.22 kB / 1.178 GB, free: 7.156 MB / 0.9044 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