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.00165/0.00165, allocations: 101.8 kB / 16.45 MB, free: 6.5 MB / 14.72 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.002068/0.002068, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.617/1.617, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.972/2.972, allocations: 476.7 MB / 0.7672 GB, free: 5.242 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 71.91 kB / 1.112 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 169.9 MB / 1.278 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001967/1.108, allocations: 0.6633 MB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001512/1.108, allocations: 13.86 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/1.108, allocations: 0 / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/1.108, allocations: 11.94 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/1.108, allocations: 0 / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.95e-05/1.108, allocations: 7.984 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/1.109, allocations: 23.98 kB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/1.109, allocations: 27.97 kB / 1.279 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/1.109, allocations: 15.88 kB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/1.109, allocations: 15.92 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/1.109, allocations: 4 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/1.109, allocations: 4 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/1.109, allocations: 15.94 kB / 1.279 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/1.109, allocations: 19.88 kB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/1.109, allocations: 49.56 kB / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.109, allocations: 0 / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/1.109, allocations: 0 / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.42e-06/1.109, allocations: 0 / 1.279 GB, free: 12.5 MB / 0.9825 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.0004236/1.109, allocations: 351.3 kB / 1.28 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.109, allocations: 8.031 kB / 1.28 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/1.11, allocations: 38.75 kB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/1.11, allocations: 4.938 kB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/1.11, allocations: 192.2 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/1.11, allocations: 384 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/1.11, allocations: 4.375 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/1.11, allocations: 82.16 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.11, allocations: 3.938 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.11, allocations: 4 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/1.11, allocations: 0 / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/1.11, allocations: 51.91 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/1.111, allocations: 487.1 kB / 1.28 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/1.111, allocations: 173.1 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/1.111, allocations: 80.14 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/1.111, allocations: 79.22 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.313e-05/1.111, allocations: 109.8 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.111, allocations: 0 / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.664e-05/1.111, allocations: 33.66 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/1.111, allocations: 130.6 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/1.111, allocations: 173.7 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/1.111, allocations: 29.69 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/1.111, allocations: 96.09 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/1.111, allocations: 0 / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/1.111, allocations: 9.719 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.112, allocations: 326.8 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/1.112, allocations: 4 kB / 1.282 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/1.112, allocations: 16.03 kB / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-05/1.112, allocations: 12.8 kB / 1.282 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.112, allocations: 4 kB / 1.282 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001335/1.112, allocations: 49.67 kB / 1.282 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.112, allocations: 4 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.112, allocations: 4.094 kB / 1.282 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/1.112, allocations: 4 kB / 1.282 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/1.112, allocations: 7.938 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.112, allocations: 0 / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/1.112, allocations: 7.953 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/1.112, allocations: 4 kB / 1.282 GB, free: 9.73 MB / 0.9825 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.0001294/1.112, allocations: 197 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/1.112, allocations: 113 kB / 1.282 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.168e-05/1.112, allocations: 120.8 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.85e-05/1.112, allocations: 188.1 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.362e-05/1.112, allocations: 176.3 kB / 1.282 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/1.113, allocations: 180.3 kB / 1.283 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/1.113, allocations: 425.1 kB / 1.283 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.995e-05/1.113, allocations: 105 kB / 1.283 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/1.113, allocations: 106.6 kB / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-05/1.113, allocations: 180.3 kB / 1.283 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.689e-05/1.113, allocations: 180.2 kB / 1.284 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.048e-05/1.113, allocations: 188.2 kB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.747e-05/1.113, allocations: 176.3 kB / 1.284 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/1.113, allocations: 315.7 kB / 1.284 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/1.114, allocations: 190 kB / 1.284 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.114, allocations: 176.3 kB / 1.285 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/1.114, allocations: 108.9 kB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/1.114, allocations: 188.2 kB / 1.285 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/1.114, allocations: 101 kB / 1.285 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001175/1.114, allocations: 133.3 kB / 1.285 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.114, allocations: 0 / 1.285 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002267/1.114, allocations: 4 kB / 1.285 GB, free: 6.031 MB / 0.9825 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.0005178/1.115, allocations: 0.8212 MB / 1.286 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.869e-05/1.115, allocations: 15.98 kB / 1.286 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.115, allocations: 0 / 1.286 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/1.115, allocations: 0 / 1.286 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/1.115, allocations: 467.6 kB / 1.286 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/1.117, allocations: 1.604 MB / 1.288 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/1.117, allocations: 0.6924 MB / 1.289 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.276e-05/1.117, allocations: 4 kB / 1.289 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/1.117, allocations: 19.44 kB / 1.289 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/1.117, allocations: 0 / 1.289 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/1.142, allocations: 1.648 MB / 1.29 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/9.136, allocations: 6.781 kB / 1.29 GB, free: 0.7188 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.735809797886759]