Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_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.001237/0.001237, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001245/0.001245, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.165/1.165, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.462/2.462, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.97 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2621, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001744/0.2639, allocations: 0.7145 MB / 1.053 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001104/0.264, allocations: 16 kB / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.2641, allocations: 3.938 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.239e-05/0.2642, allocations: 0 / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.2642, allocations: 0 / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.918e-05/0.2643, allocations: 7.984 kB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.2643, allocations: 27.92 kB / 1.053 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2645, allocations: 28 kB / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.2645, allocations: 11.92 kB / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.171e-05/0.2645, allocations: 15.92 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2645, allocations: 4 kB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.2646, allocations: 4 kB / 1.053 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.2646, allocations: 19.92 kB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.2646, allocations: 19.88 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.996e-05/0.2647, allocations: 43.81 kB / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2647, allocations: 3.938 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2647, allocations: 0 / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.2647, allocations: 0 / 1.053 GB, free: 7.734 MB / 0.8106 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.0002787/0.265, allocations: 347.7 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2651, allocations: 16.61 kB / 1.054 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.2651, allocations: 30.75 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.2651, allocations: 12.84 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2653, allocations: 188.2 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.2653, allocations: 384 / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.2653, allocations: 8.375 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.2654, allocations: 70.23 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2654, allocations: 7.922 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.2655, allocations: 4 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2655, allocations: 0 / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.2655, allocations: 55.84 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.2659, allocations: 483 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.266, allocations: 173.1 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.266, allocations: 88.09 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2661, allocations: 79.28 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.2661, allocations: 109.8 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2661, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.18e-05/0.2662, allocations: 29.7 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.2662, allocations: 130.6 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.2664, allocations: 171.7 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.2664, allocations: 25.7 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.2664, allocations: 100 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.2665, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.2665, allocations: 21.72 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.2666, allocations: 314.8 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.2666, allocations: 11.94 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.2666, allocations: 7.984 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.216e-05/0.2667, allocations: 16.86 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2667, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001006/0.2668, allocations: 53.58 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2668, allocations: 4 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2668, allocations: 8.094 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.507e-06/0.2668, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.796e-05/0.2669, allocations: 3.938 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.2669, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.2669, allocations: 7.938 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.2669, allocations: 7.984 kB / 1.056 GB, free: 4.961 MB / 0.8106 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.904e-05/0.267, allocations: 193 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.2671, allocations: 116.9 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.2671, allocations: 120.8 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.212e-05/0.2672, allocations: 184.1 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.726e-05/0.2672, allocations: 180.3 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.646e-05/0.2673, allocations: 184.2 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.2675, allocations: 421.2 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.2675, allocations: 109 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.2675, allocations: 104.9 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.827e-05/0.2676, allocations: 184.3 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.2676, allocations: 180.2 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.564e-05/0.2677, allocations: 180.4 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.567e-05/0.2677, allocations: 180.3 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.2679, allocations: 323.7 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.2679, allocations: 186 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.268, allocations: 180.2 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.2681, allocations: 104.9 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.2681, allocations: 188.2 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.2682, allocations: 105 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.706e-05/0.2683, allocations: 128.6 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2683, allocations: 0 / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002049/0.2685, allocations: 4 kB / 1.059 GB, free: 1.258 MB / 0.8106 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.0003406/0.2688, allocations: 0.8164 MB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.941e-05/0.2689, allocations: 12 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2689, allocations: 0 / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.2689, allocations: 0 / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.2693, allocations: 473.9 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2704, allocations: 1.604 MB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.2706, allocations: 0.6885 MB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.238e-05/0.2706, allocations: 7.984 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.2707, allocations: 19.42 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2707, allocations: 0 / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.403/2.674, allocations: 1.516 MB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/2.674, allocations: 211.5 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/4.956, allocations: 1 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches