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.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.0007918/0.0007918, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001048/0.001048, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.887/0.887, allocations: 177.1 MB / 202.8 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.793/1.793, allocations: 389 MB / 0.633 GB, free: 12.65 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.483e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001284/0.001309, allocations: 0.6475 MB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001395/0.001448, allocations: 11.94 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.001489, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.001595, allocations: 7.922 kB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.001638, allocations: 8 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.92e-05/0.001707, allocations: 3.938 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.771e-05/0.001795, allocations: 27.92 kB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.001925, allocations: 19.97 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.001959, allocations: 19.98 kB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.001999, allocations: 11.92 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.002023, allocations: 4 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.002032, allocations: 0 / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.002063, allocations: 11.98 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.002091, allocations: 11.94 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002192, allocations: 51.8 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.002195, allocations: 4 kB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002196, allocations: 0 / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.002199, allocations: 0 / 1.001 GB, free: 12.59 MB / 0.9636 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.0002815/0.002481, allocations: 278.2 kB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.002522, allocations: 12.75 kB / 1.001 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.00255, allocations: 34.75 kB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.002569, allocations: 4.938 kB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.002687, allocations: 121.7 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.002698, allocations: 8.375 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.002705, allocations: 384 / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.002827, allocations: 86.16 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.002834, allocations: 192 / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.002843, allocations: 4.375 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.002849, allocations: 4.125 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/0.002908, allocations: 51.91 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.003292, allocations: 450.3 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.429e-05/0.003356, allocations: 173.1 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.00338, allocations: 80.14 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.003398, allocations: 75.28 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.003431, allocations: 105.8 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.814e-06/0.003433, allocations: 3.984 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.919e-05/0.003492, allocations: 45.58 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.003537, allocations: 126.7 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.003657, allocations: 171.5 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.003665, allocations: 25.7 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.003714, allocations: 96.09 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.003716, allocations: 0 / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.003743, allocations: 21.7 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.003821, allocations: 318.8 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.003835, allocations: 11.98 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-06/0.003845, allocations: 4 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.003884, allocations: 21.02 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.003887, allocations: 7.875 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.585e-05/0.003983, allocations: 53.62 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.003994, allocations: 4 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.003999, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.00401, allocations: 0 / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.004062, allocations: 7.984 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.004067, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.004084, allocations: 11.89 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.004093, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 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 7.152e-05/0.004164, allocations: 201.1 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.004209, allocations: 112.9 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.004245, allocations: 112.7 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/0.004285, allocations: 180.2 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/0.004326, allocations: 181 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.89e-05/0.004365, allocations: 180.2 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.004516, allocations: 388.3 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/0.004547, allocations: 116.9 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.004571, allocations: 101 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.97e-05/0.004611, allocations: 180.2 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.004654, allocations: 188.5 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.051e-05/0.004695, allocations: 180.3 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.049e-05/0.004735, allocations: 180.2 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.004838, allocations: 311.7 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.004877, allocations: 116.9 kB / 1.005 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.004926, allocations: 184.2 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.004977, allocations: 104.9 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.005025, allocations: 176.3 kB / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.005053, allocations: 112.9 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.005132, allocations: 136.6 kB / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005132, allocations: 4 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001417/0.005274, allocations: 4 kB / 1.006 GB, free: 6.445 MB / 0.9636 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.0002875/0.005562, allocations: 0.8048 MB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.526e-05/0.005627, allocations: 11.94 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.005629, allocations: 0 / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.00563, allocations: 0 / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.005971, allocations: 473.8 kB / 1.007 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.006939, allocations: 1.603 MB / 1.009 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.548e-05/0.006995, allocations: 83.38 kB / 1.009 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.007016, allocations: 4 kB / 1.009 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.007054, allocations: 16.5 kB / 1.009 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.007054, allocations: 0 / 1.009 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.02165, allocations: 2.295 MB / 1.011 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.771/6.792, allocations: 6.391 kB / 1.011 GB, free: 1.156 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[1].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[2].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[2].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[3].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[3].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[4].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[4].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[5].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[5].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.98322376795113]