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.001476/0.001476, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001658/0.001658, allocations: 197.1 kB / 16.25 MB, free: 6.625 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.414 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.276/2.276, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6096/0.6109, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002116/0.613, allocations: 0.7162 MB / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001339/0.6132, allocations: 15.94 kB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.6132, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.753e-05/0.6133, allocations: 3.984 kB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.6134, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.979e-05/0.6135, allocations: 8 kB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.6136, allocations: 27.92 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.6137, allocations: 27.98 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.521e-05/0.6137, allocations: 15.92 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.108e-05/0.6138, allocations: 15.92 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.6138, allocations: 4 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.6138, allocations: 4 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.6138, allocations: 15.94 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.6139, allocations: 19.88 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.996e-05/0.614, allocations: 39.88 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.614, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.403e-06/0.614, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.614, allocations: 0 / 1.018 GB, free: 1.805 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.000338/0.6143, allocations: 357.6 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6144, allocations: 12.03 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.6144, allocations: 34.75 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.6145, allocations: 8.844 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.6146, allocations: 192.2 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.6146, allocations: 4.359 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.6147, allocations: 4.375 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.6148, allocations: 78.22 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.6148, allocations: 3.938 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.6148, allocations: 7.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6148, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.6149, allocations: 47.97 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.6154, allocations: 491 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.673e-05/0.6155, allocations: 177.1 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.6155, allocations: 80.14 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.6156, allocations: 75.28 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.6156, allocations: 113.8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.6156, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.239e-05/0.6157, allocations: 33.61 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.6158, allocations: 130.6 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.6159, allocations: 172 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.616, allocations: 29.69 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.616, allocations: 99.98 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.616, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.6161, allocations: 17.72 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6162, allocations: 318.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.6162, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.432e-05/0.6162, allocations: 11.98 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.6163, allocations: 12.86 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.6163, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001072/0.6164, allocations: 49.67 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6164, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6164, allocations: 8.094 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.6164, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.6165, allocations: 7.875 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.6165, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.6165, allocations: 7.906 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.6166, allocations: 4 kB / 1.02 GB, free: 15.02 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 9.603e-05/0.6167, allocations: 193.6 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.6167, allocations: 108.9 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.6168, allocations: 120.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.529e-05/0.6169, allocations: 184.1 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-05/0.6169, allocations: 184.3 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.088e-05/0.617, allocations: 180.2 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.6172, allocations: 421.2 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/0.6172, allocations: 105 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.6173, allocations: 105 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-05/0.6173, allocations: 184.2 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.6174, allocations: 180.2 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.017e-05/0.6174, allocations: 188.2 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.925e-05/0.6175, allocations: 180.2 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.6176, allocations: 307.8 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.6177, allocations: 197.9 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.6177, allocations: 176.3 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.6178, allocations: 108.9 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.6179, allocations: 184.3 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.6179, allocations: 101.3 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.157e-05/0.618, allocations: 132.6 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.618, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000203/0.6182, allocations: 4 kB / 1.024 GB, free: 11.33 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.0003792/0.6186, allocations: 0.8242 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.286e-05/0.6187, allocations: 12.02 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6187, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.6187, allocations: 4 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.6191, allocations: 465.4 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.6204, allocations: 1.612 MB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.6207, allocations: 0.6925 MB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.6207, allocations: 7.984 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.6207, allocations: 15.44 kB / 1.027 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6207, allocations: 3.938 kB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.654, allocations: 1.527 MB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003694/0.6544, allocations: 198 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.326, allocations: 0 / 1.029 GB, free: 5.902 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