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.001775/0.001775, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002232/0.002232, allocations: 217.2 kB / 22.25 MB, free: 5.078 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.657/1.657, allocations: 230.6 MB / 256 MB, free: 8.008 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.874/2.874, allocations: 476.7 MB / 0.7707 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 177] 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.002073/0.002073, allocations: 76.83 kB / 1.117 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3749, allocations: 169.9 MB / 1.283 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002074/0.377, allocations: 0.6653 MB / 1.284 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.3771, allocations: 4 kB / 1.284 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.3772, allocations: 3.938 kB / 1.284 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.3773, allocations: 0 / 1.284 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.3773, allocations: 11.94 kB / 1.284 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.159e-05/0.3774, allocations: 7.969 kB / 1.284 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3775, allocations: 23.98 kB / 1.284 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3777, allocations: 19.98 kB / 1.284 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.3777, allocations: 7.938 kB / 1.284 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.3777, allocations: 15.92 kB / 1.284 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3778, allocations: 4 kB / 1.284 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.3778, allocations: 4 kB / 1.284 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.3778, allocations: 11.94 kB / 1.284 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.3779, allocations: 19.88 kB / 1.284 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.378, allocations: 59.95 kB / 1.284 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.378, allocations: 4 kB / 1.284 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.694e-06/0.378, allocations: 0 / 1.284 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.378, allocations: 0 / 1.284 GB, free: 2.898 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.0003819/0.3784, allocations: 274.2 kB / 1.285 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3784, allocations: 12.03 kB / 1.285 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.3785, allocations: 30.75 kB / 1.285 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.3785, allocations: 4.938 kB / 1.285 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.3787, allocations: 122.5 kB / 1.285 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3787, allocations: 8.375 kB / 1.285 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.3787, allocations: 8.375 kB / 1.285 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3789, allocations: 82.09 kB / 1.285 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3789, allocations: 3.938 kB / 1.285 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-06/0.3789, allocations: 0 / 1.285 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3789, allocations: 4 kB / 1.285 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.035e-05/0.379, allocations: 47.97 kB / 1.285 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.3795, allocations: 466.5 kB / 1.285 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3797, allocations: 173.2 kB / 1.285 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.3797, allocations: 84.14 kB / 1.286 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.3797, allocations: 75.28 kB / 1.286 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.3798, allocations: 109.8 kB / 1.286 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3798, allocations: 0 / 1.286 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.005e-05/0.3799, allocations: 37.66 kB / 1.286 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.38, allocations: 138.6 kB / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3801, allocations: 169.8 kB / 1.286 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3802, allocations: 25.7 kB / 1.286 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.3802, allocations: 92.09 kB / 1.286 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3802, allocations: 4 kB / 1.286 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.3803, allocations: 13.7 kB / 1.286 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3804, allocations: 322.8 kB / 1.286 GB, free: 456 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.3804, allocations: 7.984 kB / 1.286 GB, free: 448 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.3804, allocations: 8 kB / 1.286 GB, free: 440 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.3805, allocations: 20.78 kB / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3805, allocations: 0 / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001201/0.3806, allocations: 49.69 kB / 1.287 GB, free: 360 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3806, allocations: 4 kB / 1.287 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3806, allocations: 0 / 1.287 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3807, allocations: 96 / 1.287 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.3807, allocations: 15.92 kB / 1.287 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3807, allocations: 112 / 1.287 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.3807, allocations: 15.83 kB / 1.287 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3808, allocations: 4 kB / 1.287 GB, free: 320 kB / 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.0001284/0.3809, allocations: 193.1 kB / 1.287 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.381, allocations: 112.9 kB / 1.287 GB, free: 16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.381, allocations: 108.8 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-05/0.3811, allocations: 184.2 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001011/0.3812, allocations: 188.2 kB / 1.287 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.018e-05/0.3813, allocations: 180.3 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.3816, allocations: 388.2 kB / 1.288 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.568e-05/0.3816, allocations: 106.4 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.3817, allocations: 108.9 kB / 1.288 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.904e-05/0.3818, allocations: 184.2 kB / 1.288 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-05/0.3819, allocations: 176.3 kB / 1.288 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.484e-05/0.382, allocations: 184.1 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.282e-05/0.3821, allocations: 176.3 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.3822, allocations: 323.7 kB / 1.289 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.3823, allocations: 105 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3824, allocations: 184.2 kB / 1.289 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.3825, allocations: 113.2 kB / 1.289 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3826, allocations: 184.2 kB / 1.29 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.3827, allocations: 105 kB / 1.29 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001138/0.3828, allocations: 133.9 kB / 1.29 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3828, allocations: 0 / 1.29 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002457/0.383, allocations: 8 kB / 1.29 GB, free: 12.75 MB / 0.9981 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.0005285/0.3836, allocations: 0.8126 MB / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.3836, allocations: 7.984 kB / 1.291 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3836, allocations: 0 / 1.291 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.3836, allocations: 0 / 1.291 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3842, allocations: 465.3 kB / 1.291 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3857, allocations: 1.6 MB / 1.293 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3861, allocations: 0.6924 MB / 1.293 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.3861, allocations: 4 kB / 1.293 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.3861, allocations: 19.42 kB / 1.293 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3861, allocations: 0 / 1.293 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.4196, allocations: 1.74 MB / 1.295 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.29, allocations: 1.312 kB / 1.295 GB, free: 7.41 MB / 0.9981 GB " [Timeout remaining time 289] (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.270411718000105]