Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007655/0.0007655, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008341/0.0008341, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9263/0.9263, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.743/1.743, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.589e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001366/0.001392, allocations: 0.6551 MB / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000188/0.00158, allocations: 11.92 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.001637, allocations: 4 kB / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.001772, allocations: 0 / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.001828, allocations: 3.938 kB / 0.9512 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.001932, allocations: 0 / 0.9512 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.002053, allocations: 27.92 kB / 0.9513 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.002237, allocations: 31.84 kB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.002287, allocations: 19.98 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.00233, allocations: 11.98 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.002363, allocations: 4 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.002377, allocations: 4 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.002431, allocations: 11.92 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.002471, allocations: 11.98 kB / 0.9513 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.002609, allocations: 47.81 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.002614, allocations: 3.984 kB / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.343e-06/0.002615, allocations: 0 / 0.9514 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.00262, allocations: 4 kB / 0.9514 GB, free: 2.562 MB / 0.9011 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.0002947/0.002915, allocations: 274.2 kB / 0.9517 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.002958, allocations: 8.031 kB / 0.9517 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.002991, allocations: 34.75 kB / 0.9517 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.003012, allocations: 12.88 kB / 0.9517 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.003138, allocations: 117.7 kB / 0.9518 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.00315, allocations: 8.375 kB / 0.9518 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.00316, allocations: 4.375 kB / 0.9518 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.003284, allocations: 74.22 kB / 0.9519 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.003291, allocations: 192 / 0.9519 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.0033, allocations: 8.359 kB / 0.9519 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.003306, allocations: 12.12 kB / 0.9519 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.003366, allocations: 47.97 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.003739, allocations: 458.1 kB / 0.9524 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.885e-05/0.003798, allocations: 165.1 kB / 0.9526 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.00382, allocations: 84.08 kB / 0.9526 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.003838, allocations: 75.28 kB / 0.9527 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.003871, allocations: 113.8 kB / 0.9528 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.003871, allocations: 0 / 0.9528 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.757e-05/0.003929, allocations: 33.66 kB / 0.9529 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.003973, allocations: 130.7 kB / 0.953 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.004096, allocations: 175.9 kB / 0.9532 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.004105, allocations: 29.7 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.004152, allocations: 92.12 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.004154, allocations: 4 kB / 0.9533 GB, free: 476 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.004178, allocations: 9.719 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.00426, allocations: 322.8 kB / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.004274, allocations: 11.92 kB / 0.9536 GB, free: 116 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.004284, allocations: 7.984 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.004322, allocations: 16.86 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.004324, allocations: 0 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.967e-05/0.004424, allocations: 53.7 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.004438, allocations: 11.92 kB / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.004444, allocations: 4 kB / 0.9537 GB, free: 12 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.004457, allocations: 4 kB / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.004514, allocations: 0 / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.00452, allocations: 0 / 0.9537 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.004539, allocations: 7.938 kB / 0.9537 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.004549, allocations: 4.156 kB / 0.9537 GB, free: 15.99 MB / 0.9167 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.734e-05/0.004636, allocations: 200.9 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.004679, allocations: 108.9 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.004723, allocations: 116.8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.866e-05/0.004771, allocations: 184.2 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.166e-05/0.004823, allocations: 180.3 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-05/0.004871, allocations: 180.8 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.005033, allocations: 392.2 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/0.005064, allocations: 105 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.005091, allocations: 108.9 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.231e-05/0.005144, allocations: 184.3 kB / 0.9554 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.005195, allocations: 180.4 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000226/0.005421, allocations: 180.3 kB / 0.9557 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.393e-05/0.005465, allocations: 188.2 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.00557, allocations: 311.7 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.005616, allocations: 116.9 kB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.005671, allocations: 180.2 kB / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.005726, allocations: 101 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.005781, allocations: 184.2 kB / 0.9568 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.005809, allocations: 101 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.403e-05/0.005893, allocations: 135.2 kB / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005893, allocations: 0 / 0.957 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001507/0.006044, allocations: 8 kB / 0.957 GB, free: 12.43 MB / 0.9167 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.0003019/0.006346, allocations: 0.8126 MB / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.528e-05/0.006411, allocations: 11.98 kB / 0.9578 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.006413, allocations: 0 / 0.9578 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-06/0.006416, allocations: 4 kB / 0.9578 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.006745, allocations: 466 kB / 0.9582 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.007712, allocations: 1.595 MB / 0.9598 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.09e-05/0.007763, allocations: 79.33 kB / 0.9599 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.007785, allocations: 4 kB / 0.9599 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.007825, allocations: 24.55 kB / 0.9599 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.007826, allocations: 0 / 0.9599 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.02604, allocations: 2.3 MB / 0.9622 GB, free: 7.148 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/6.647, allocations: 7.938 kB / 0.9622 GB, free: 7.141 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable con[1].y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[1].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[2].y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[2].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[3].y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[3].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[4].y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[4].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[5].y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[5].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.957862892188132]