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.001104/0.001104, allocations: 108 kB / 15.6 MB, free: 128 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.001531/0.001531, allocations: 196 kB / 16.53 MB, free: 6.672 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.347/2.347, allocations: 437.1 MB / 0.7104 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 75.89 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.5112, 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.001647/0.5128, allocations: 0.6535 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.513, allocations: 11.94 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.513, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.742e-05/0.5131, allocations: 7.938 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/0.5132, allocations: 4 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.449e-05/0.5132, allocations: 4 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.5133, allocations: 23.92 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.5134, allocations: 31.98 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.5134, allocations: 19.91 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.624e-05/0.5135, allocations: 11.94 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.5135, allocations: 4 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.5135, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.5135, allocations: 15.92 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.5136, allocations: 19.88 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.163e-05/0.5137, allocations: 39.88 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5137, allocations: 8 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5137, allocations: 3.938 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5137, 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.0002952/0.514, allocations: 349.6 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.514, allocations: 8.031 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.5141, allocations: 42.73 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.5141, allocations: 8.844 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.5142, allocations: 188.3 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-06/0.5142, allocations: 4.312 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.5143, allocations: 8.375 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.5144, allocations: 74.23 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5144, allocations: 3.938 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.5144, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.5144, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.5145, allocations: 47.97 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.5149, allocations: 487 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.889e-05/0.515, allocations: 177.1 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.515, allocations: 80.14 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.515, allocations: 79.22 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.5151, allocations: 109.8 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5151, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.239e-05/0.5152, allocations: 33.61 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.5152, allocations: 134.6 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.5154, allocations: 169.8 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.5154, allocations: 25.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.5154, allocations: 100 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.5154, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.5155, allocations: 9.719 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.5156, allocations: 318.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.5156, allocations: 15.98 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.5156, allocations: 7.938 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.5156, allocations: 12.84 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5156, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.5158, allocations: 49.69 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.5158, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5158, allocations: 3.984 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5158, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.5158, allocations: 3.938 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.5159, allocations: 4.094 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.5159, allocations: 7.906 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.5159, allocations: 8 kB / 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 8.67e-05/0.516, allocations: 189.1 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.5161, allocations: 112.8 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.5161, allocations: 116.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.016e-05/0.5162, allocations: 196.2 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-05/0.5162, allocations: 176.3 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.141e-05/0.5163, allocations: 180.3 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.5165, allocations: 421.1 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/0.5165, allocations: 101 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.5165, allocations: 112.9 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.034e-05/0.5166, allocations: 184.3 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.5167, allocations: 180.4 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/0.5167, allocations: 188.1 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.901e-05/0.5168, allocations: 176.3 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.5169, allocations: 315.8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.517, allocations: 189.9 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.517, allocations: 176.3 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.5171, allocations: 108.9 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.5172, allocations: 184.2 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.5172, allocations: 109 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.408e-05/0.5173, allocations: 133.6 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5173, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001973/0.5175, allocations: 4 kB / 1.024 GB, free: 11.17 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.0003528/0.5179, allocations: 0.8125 MB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.388e-05/0.5179, allocations: 16.36 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5179, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.5179, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.5183, allocations: 463.6 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5194, allocations: 1.607 MB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.5197, allocations: 0.6924 MB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.5197, allocations: 8 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.5197, allocations: 15.42 kB / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5197, allocations: 0 / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.014/2.534, allocations: 1.597 MB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/10.41, allocations: 9.812 kB / 1.029 GB, free: 5.891 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