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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.54/2.54, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001822/0.001822, allocations: 71.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.821/0.8229, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001635/0.8245, allocations: 0.6571 MB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001208/0.8246, allocations: 15.02 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.8246, allocations: 4.75 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.8247, allocations: 5.734 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.214e-05/0.8248, allocations: 1.438 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.949e-05/0.8248, allocations: 2.484 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.318e-05/0.8249, allocations: 24.97 kB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.825, allocations: 20.66 kB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.825, allocations: 17.14 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.8251, allocations: 14.23 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.8251, allocations: 2.875 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.8251, allocations: 3.031 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.8251, allocations: 16.33 kB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.8252, allocations: 30.11 kB / 1.272 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.43e-05/0.8253, allocations: 50.56 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.8253, allocations: 0 / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8253, allocations: 1.062 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8253, allocations: 0 / 1.272 GB, free: 7.195 MB / 0.9981 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.0002503/0.8255, allocations: 344.8 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.8256, allocations: 9.531 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.8256, allocations: 34.14 kB / 1.273 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.8256, allocations: 11.98 kB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.8257, allocations: 190.6 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.8257, allocations: 3.188 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.8258, allocations: 7.406 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.8259, allocations: 74.77 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.8259, allocations: 3.938 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.8259, allocations: 0.875 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8259, allocations: 2.438 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.826, allocations: 51.7 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.8264, allocations: 491.5 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.014e-05/0.8264, allocations: 171.3 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.8264, allocations: 80.14 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.8264, allocations: 79.91 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.8265, allocations: 107.2 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.8265, allocations: 4 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.986e-05/0.8265, allocations: 37.33 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.8265, allocations: 132.2 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.8267, allocations: 171.3 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.8267, allocations: 26.41 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.8267, allocations: 93.66 kB / 1.274 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.8267, allocations: 0 / 1.274 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.8268, allocations: 17.52 kB / 1.274 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.8268, allocations: 319.4 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.8268, allocations: 10.73 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.8269, allocations: 10.17 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/0.8269, allocations: 17.25 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.8269, allocations: 0 / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.827, allocations: 53.14 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.827, allocations: 5.438 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.827, allocations: 4.094 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.827, allocations: 0.7188 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.8271, allocations: 8.25 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.8271, allocations: 0 / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.8271, allocations: 8.828 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.8271, allocations: 9.641 kB / 1.275 GB, free: 4.758 MB / 0.9981 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 6.098e-05/0.8272, allocations: 197.8 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.8272, allocations: 109.6 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.8273, allocations: 114.2 kB / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.8273, allocations: 189.4 kB / 1.275 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/0.8273, allocations: 178.6 kB / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/0.8273, allocations: 177.8 kB / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.8275, allocations: 422.3 kB / 1.276 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.8275, allocations: 107.4 kB / 1.276 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.8276, allocations: 106.3 kB / 1.276 GB, free: 19.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-05/0.8276, allocations: 181.8 kB / 1.276 GB, free: 18.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/0.8277, allocations: 181.6 kB / 1.277 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.869e-05/0.8278, allocations: 182 kB / 1.277 GB, free: 18.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.9e-05/0.8278, allocations: 177.7 kB / 1.277 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.828, allocations: 319.8 kB / 1.277 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.8281, allocations: 191.2 kB / 1.277 GB, free: 17.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.8282, allocations: 178.8 kB / 1.278 GB, free: 17.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.8282, allocations: 111.3 kB / 1.278 GB, free: 17.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.8283, allocations: 190 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.8284, allocations: 102.1 kB / 1.278 GB, free: 17.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001095/0.8285, allocations: 130.5 kB / 1.278 GB, free: 17.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8285, allocations: 0.7188 kB / 1.278 GB, free: 17.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002006/0.8287, allocations: 4.656 kB / 1.278 GB, free: 17.17 MB / 1.014 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.000474/0.8291, allocations: 0.8163 MB / 1.279 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.955e-05/0.8292, allocations: 12.2 kB / 1.279 GB, free: 16.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8292, allocations: 0 / 1.279 GB, free: 16.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.8292, allocations: 0 / 1.279 GB, free: 16.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.8297, allocations: 465.3 kB / 1.279 GB, free: 15.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.8309, allocations: 1.609 MB / 1.281 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.8312, allocations: 0.6943 MB / 1.282 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.31e-05/0.8312, allocations: 5.281 kB / 1.282 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.8312, allocations: 15.34 kB / 1.282 GB, free: 13.79 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.8312, allocations: 0 / 1.282 GB, free: 13.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.8542, allocations: 1.618 MB / 1.283 GB, free: 13.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/7.72, allocations: 10.56 kB / 1.283 GB, free: 13.4 MB / 1.014 GB " [Timeout remaining time 292] (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/jenkins1/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: 13.190157545999682]