Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00128/0.00128, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001521/0.001521, allocations: 220.7 kB / 22.25 MB, free: 5.258 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.213/3.213, allocations: 0.49 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_12_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.002062/0.002062, allocations: 77.03 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3692, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001874/0.3711, allocations: 0.6509 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001448/0.3713, allocations: 11.94 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.3713, allocations: 0 / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.549e-05/0.3714, allocations: 3.938 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.3714, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.933e-05/0.3715, allocations: 15.98 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.3716, allocations: 27.86 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3717, allocations: 23.97 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.3717, allocations: 15.88 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.446e-05/0.3718, allocations: 15.92 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3718, allocations: 4 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.3718, allocations: 4 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.3718, allocations: 8 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.3719, allocations: 15.88 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.372, allocations: 52.02 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.372, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.664e-06/0.372, allocations: 4 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.372, allocations: 4 kB / 1.327 GB, free: 0.6406 MB / 1.014 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.0003562/0.3724, allocations: 274.2 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3724, allocations: 12.03 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.3724, allocations: 30.75 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.3725, allocations: 4.938 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3726, allocations: 126.4 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3726, allocations: 4.375 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.3727, allocations: 8.375 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3728, allocations: 78.16 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3728, allocations: 7.938 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3728, allocations: 0 / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3728, allocations: 4 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.3729, allocations: 48.05 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.3735, allocations: 450.7 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3736, allocations: 181.1 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.3736, allocations: 80.14 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.3736, allocations: 75.28 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.3737, allocations: 109.8 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3737, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.856e-05/0.3738, allocations: 29.66 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.3738, allocations: 142.6 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.374, allocations: 171.8 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3741, allocations: 25.7 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.3741, allocations: 96.09 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.3741, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.3742, allocations: 17.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3743, allocations: 318.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.3743, allocations: 7.984 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.3744, allocations: 8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.3744, allocations: 16.91 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3744, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001216/0.3745, allocations: 53.64 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3745, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3745, allocations: 3.938 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3746, allocations: 4.109 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.3746, allocations: 15.8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3746, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.3746, allocations: 7.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.3747, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 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.0001165/0.3748, allocations: 197.7 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/0.3749, allocations: 108.9 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.3749, allocations: 116.7 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-05/0.375, allocations: 180.2 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.023e-05/0.3751, allocations: 184.2 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.528e-05/0.3752, allocations: 180.2 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.3755, allocations: 388.3 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-05/0.3755, allocations: 104.9 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.3756, allocations: 105 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-05/0.3756, allocations: 176.3 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.58e-05/0.3757, allocations: 184.2 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.969e-05/0.3758, allocations: 184.2 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.013e-05/0.3759, allocations: 188.2 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.3761, allocations: 307.8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.3761, allocations: 112.9 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/0.3762, allocations: 180.3 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.3763, allocations: 113.1 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.3764, allocations: 184.2 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.3765, allocations: 101 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001181/0.3766, allocations: 136.5 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3766, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002274/0.3768, allocations: 15.94 kB / 1.332 GB, free: 10.49 MB / 1.029 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.0005185/0.3773, allocations: 0.8087 MB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.477e-05/0.3774, allocations: 8 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3774, allocations: 4 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.3774, allocations: 3.938 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.3779, allocations: 463.6 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3795, allocations: 1.608 MB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.416e-05/0.3795, allocations: 75.39 kB / 1.335 GB, free: 7.402 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.3796, allocations: 7.984 kB / 1.335 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.3796, allocations: 19.44 kB / 1.335 GB, free: 7.375 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3796, allocations: 3.938 kB / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.4069, allocations: 2.176 MB / 1.337 GB, free: 5.328 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.63, allocations: 1.312 kB / 1.337 GB, free: 5.328 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[1].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[2].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[2].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[3].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[3].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[4].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[4].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[5].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[5].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.553230935009196]