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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001315/0.001315, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001551/0.001551, allocations: 196.9 kB / 16.14 MB, free: 6.719 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.228/1.228, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.407/2.407, allocations: 461.8 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 65.83 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.227, allocations: 157.4 MB / 1.052 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001785/0.2288, allocations: 0.7145 MB / 1.053 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.2289, allocations: 15.94 kB / 1.053 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.229, allocations: 0 / 1.053 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2291, allocations: 7.984 kB / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.632e-05/0.2291, allocations: 0 / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.089e-05/0.2292, allocations: 8 kB / 1.053 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.2293, allocations: 19.92 kB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2295, allocations: 35.92 kB / 1.053 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.2295, allocations: 15.98 kB / 1.053 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.164e-05/0.2295, allocations: 19.86 kB / 1.053 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.2295, allocations: 0 / 1.053 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.2296, allocations: 4 kB / 1.053 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.2296, allocations: 0 / 1.053 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.2296, allocations: 19.88 kB / 1.053 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.432e-05/0.2297, allocations: 51.8 kB / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2297, allocations: 0 / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2297, allocations: 0 / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2298, allocations: 0 / 1.053 GB, free: 7.238 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.0003635/0.2301, allocations: 347.7 kB / 1.053 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2302, allocations: 15.97 kB / 1.053 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.2302, allocations: 34.75 kB / 1.053 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.2302, allocations: 8.844 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.2304, allocations: 180.2 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2304, allocations: 4.375 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.2305, allocations: 8.375 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2306, allocations: 86.09 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2306, allocations: 11.86 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2307, allocations: 4 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2307, allocations: 0 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.655e-05/0.2307, allocations: 43.97 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.2312, allocations: 491 kB / 1.054 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.464e-05/0.2313, allocations: 173.1 kB / 1.054 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.2314, allocations: 84.17 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.2314, allocations: 79.28 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.2314, allocations: 105.8 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2314, allocations: 4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.328e-05/0.2315, allocations: 29.7 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.2316, allocations: 130.6 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.2318, allocations: 175.1 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.2318, allocations: 25.7 kB / 1.055 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.2318, allocations: 100 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.2319, allocations: 0 / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.2319, allocations: 13.72 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.232, allocations: 318.8 kB / 1.055 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.232, allocations: 8 kB / 1.055 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.2321, allocations: 15.98 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.2321, allocations: 8.859 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2321, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001186/0.2322, allocations: 53.58 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2323, allocations: 8 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2323, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2323, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.2323, allocations: 15.97 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.341e-06/0.2323, allocations: 112 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.2324, allocations: 11.88 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.2324, allocations: 0 / 1.056 GB, free: 4.457 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 0.0001077/0.2325, allocations: 197.1 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.2326, allocations: 104.9 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.2326, allocations: 120.8 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.811e-05/0.2327, allocations: 188.2 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.458e-05/0.2327, allocations: 176.3 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.182e-05/0.2328, allocations: 180.2 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.233, allocations: 421.2 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/0.233, allocations: 104.9 kB / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.2331, allocations: 109 kB / 1.057 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.562e-05/0.2331, allocations: 180.3 kB / 1.057 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.2332, allocations: 180.2 kB / 1.057 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.833e-05/0.2333, allocations: 180.2 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-05/0.2333, allocations: 196.1 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.2334, allocations: 308 kB / 1.058 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.2335, allocations: 194 kB / 1.058 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.2336, allocations: 180.3 kB / 1.058 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.2337, allocations: 112.9 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.2337, allocations: 176.3 kB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.2338, allocations: 101 kB / 1.059 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.023e-05/0.2339, allocations: 136.6 kB / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.363e-06/0.2339, allocations: 4 kB / 1.059 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002023/0.2341, allocations: 7.938 kB / 1.059 GB, free: 0.7539 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.0004016/0.2345, allocations: 0.8126 MB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.277e-05/0.2346, allocations: 7.984 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2346, allocations: 0 / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-06/0.2346, allocations: 3.938 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.2351, allocations: 0.5275 MB / 1.06 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2363, allocations: 1.601 MB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.2366, allocations: 0.6966 MB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.2366, allocations: 7.938 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.2366, allocations: 19.42 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2366, allocations: 0 / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3855/0.6222, allocations: 1.475 MB / 1.064 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.6224, allocations: 210.8 kB / 1.064 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/2.964, allocations: 2.75 kB / 1.064 GB, free: 11.31 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