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.001751/0.001751, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001614/0.001614, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.801 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.859/2.859, allocations: 476 MB / 0.7699 GB, free: 4.734 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.002151/0.002151, allocations: 72.77 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3431, allocations: 169.9 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.0025/0.3456, allocations: 0.6563 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001916/0.3458, allocations: 7.938 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.3459, allocations: 0 / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.346, allocations: 3.984 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.346, allocations: 7.938 kB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.329e-05/0.3461, allocations: 4 kB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3462, allocations: 23.98 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.3464, allocations: 23.48 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.3464, allocations: 15.94 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.3465, allocations: 15.92 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3465, allocations: 3.938 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.3465, allocations: 4 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.3465, allocations: 8 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.3466, allocations: 19.86 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.3467, allocations: 51.75 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3467, allocations: 0 / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.107e-06/0.3467, allocations: 7.984 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3467, allocations: 0 / 1.283 GB, free: 11.55 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.0003907/0.3471, allocations: 275.9 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3472, allocations: 11.97 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/0.3472, allocations: 38.75 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.3473, allocations: 12.92 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3474, allocations: 114.5 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3475, allocations: 4.375 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3475, allocations: 4.375 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3477, allocations: 82.16 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3477, allocations: 7.938 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3477, allocations: 4 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3477, allocations: 0 / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/0.3478, allocations: 47.91 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.3484, allocations: 454.2 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.3485, allocations: 165.1 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.3485, allocations: 80.14 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.3486, allocations: 79.28 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.494e-05/0.3486, allocations: 113.8 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.3486, allocations: 0 / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.087e-05/0.3487, allocations: 33.78 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.3488, allocations: 142.6 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.349, allocations: 167.8 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.349, allocations: 29.7 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.3491, allocations: 100.1 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.3491, allocations: 0 / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.3492, allocations: 13.72 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3493, allocations: 310.8 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/0.3493, allocations: 11.98 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.3494, allocations: 7.984 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.459e-05/0.3494, allocations: 20.86 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3494, allocations: 4 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001304/0.3495, allocations: 45.69 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3496, allocations: 11.98 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3496, allocations: 0 / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3496, allocations: 0 / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.3496, allocations: 7.938 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3496, allocations: 0 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.3497, allocations: 11.89 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3497, allocations: 0 / 1.286 GB, free: 8.988 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.0001647/0.3499, allocations: 201.1 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.3499, allocations: 112.9 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.124e-05/0.35, allocations: 112.8 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-05/0.3501, allocations: 188.2 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-05/0.3502, allocations: 180.2 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.366e-05/0.3503, allocations: 188.2 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.3506, allocations: 394 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.575e-05/0.3506, allocations: 101 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.3507, allocations: 108.9 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001/0.3508, allocations: 180.3 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/0.3509, allocations: 176.3 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.344e-05/0.351, allocations: 192.1 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.304e-05/0.3511, allocations: 184.2 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.3513, allocations: 315.7 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.3513, allocations: 109 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3514, allocations: 184.2 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3515, allocations: 108.9 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.3516, allocations: 184.2 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.3517, allocations: 101 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001169/0.3518, allocations: 131.2 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3518, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002499/0.3521, allocations: 4 kB / 1.289 GB, free: 5.41 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.0005592/0.3526, allocations: 0.8129 MB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.553e-05/0.3527, allocations: 15.98 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3527, allocations: 0 / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.3527, allocations: 0 / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.3533, allocations: 468.3 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.355, allocations: 1.597 MB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.3551, allocations: 79.33 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.3551, allocations: 12.05 kB / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.3551, allocations: 11.44 kB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.3551, allocations: 0 / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.3862, allocations: 2.155 MB / 1.294 GB, free: 284 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 1.25 kB / 1.294 GB, free: 284 kB / 0.9825 GB " [Timeout remaining time 288] (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: 18.76161745004356]