Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.001202/0.001202, 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.00116/0.00116, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.307/1.307, 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 10.1.1-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.88 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6208/0.6222, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002076/0.6243, allocations: 0.7668 MB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.6252, allocations: 0.804 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.6253, allocations: 8 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.6253, allocations: 3.938 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.6254, allocations: 7.922 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.136e-05/0.6255, allocations: 8 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.6256, allocations: 51.78 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.6257, allocations: 8 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.6257, allocations: 11.98 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.6258, allocations: 27.92 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.6258, allocations: 4 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.6258, allocations: 7.938 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.6259, allocations: 11.97 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.6259, allocations: 11.94 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.341e-05/0.626, allocations: 39.88 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.626, allocations: 3.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.423e-06/0.626, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.626, allocations: 3.984 kB / 1.019 GB, free: 0.9336 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004659/0.6265, allocations: 369.5 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6265, allocations: 8.031 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.6266, allocations: 30.75 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.6266, allocations: 8.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.6267, allocations: 172.3 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.6267, allocations: 384 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.6267, allocations: 8.297 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.627, allocations: 70.22 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.627, allocations: 7.938 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-06/0.627, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.627, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.6273, allocations: 63.92 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.6276, allocations: 272.9 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.6278, allocations: 58.48 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.628, allocations: 36.91 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.628, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.628, allocations: 34.56 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.628, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004917/0.6285, allocations: 129.5 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.6286, allocations: 55.34 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.6286, allocations: 109.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.6287, allocations: 33.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.6287, allocations: 80.14 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.6287, allocations: 15.84 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.6288, allocations: 9.719 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.6289, allocations: 322.8 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.629, allocations: 27.97 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6291, allocations: 39.89 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.6294, allocations: 72.72 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6294, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003057/0.6297, allocations: 105.5 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6297, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.6297, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.6297, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.6299, allocations: 11.98 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.6299, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.63, allocations: 15.97 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.63, allocations: 0 / 1.021 GB, free: 14.56 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 (3): * Single equations (assignments): 3 * 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 6.998e-05/0.63, allocations: 122.3 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.6301, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.6304, allocations: 101.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6304, allocations: 384 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6304, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6304, allocations: 7.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.6306, allocations: 173.5 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6306, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.6307, allocations: 19.95 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6307, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6307, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6307, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6307, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.6311, allocations: 195.4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.6311, allocations: 81.09 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.6311, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.6312, allocations: 11.98 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.6313, allocations: 8 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.6313, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.6313, allocations: 91.58 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.252e-06/0.6313, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002084/0.6315, allocations: 15.84 kB / 1.022 GB, free: 13.63 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 (3): * Single equations (assignments): 3 * 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.0005806/0.6321, allocations: 0.728 MB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.6324, allocations: 67.92 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6324, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.6326, allocations: 39.89 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.6329, allocations: 15.94 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.6333, allocations: 159.2 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.6335, allocations: 0.6807 MB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.6335, allocations: 0 / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.6336, allocations: 27.38 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6336, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.6518, allocations: 1.398 MB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.6521, allocations: 202.3 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.323, allocations: 0 / 1.025 GB, free: 10.28 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches