Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.001129/0.001129, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001218/0.001218, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8735/0.8735, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.719/1.719, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.809e-05, allocations: 6.219 kB / 0.9506 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001399/0.001427, allocations: 0.651 MB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.001593, allocations: 19.91 kB / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.001641, allocations: 0 / 0.9512 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.001745, allocations: 3.938 kB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.001787, allocations: 7.938 kB / 0.9512 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 9.921e-05/0.001886, allocations: 4 kB / 0.9512 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.001992, allocations: 39.91 kB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.002107, allocations: 19.98 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.002143, allocations: 15.98 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.002174, allocations: 19.91 kB / 0.9513 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.002198, allocations: 4 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.002209, allocations: 4 kB / 0.9513 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.002237, allocations: 8 kB / 0.9513 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.002264, allocations: 11.94 kB / 0.9514 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.529e-05/0.002359, allocations: 51.73 kB / 0.9514 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.002362, allocations: 4 kB / 0.9514 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.272e-06/0.002364, allocations: 4 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.002368, allocations: 0 / 0.9514 GB, free: 2.539 MB / 0.9011 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.0002816/0.002649, allocations: 270.2 kB / 0.9517 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.002686, allocations: 12.03 kB / 0.9517 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.827e-05/0.002714, allocations: 34.73 kB / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/0.002735, allocations: 12.83 kB / 0.9517 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.002851, allocations: 121.7 kB / 0.9518 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.002861, allocations: 4.375 kB / 0.9518 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.002871, allocations: 8.375 kB / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.002988, allocations: 74.22 kB / 0.9519 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.002995, allocations: 192 / 0.9519 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.003002, allocations: 4.375 kB / 0.9519 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.003008, allocations: 8.125 kB / 0.9519 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.003062, allocations: 55.84 kB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.003425, allocations: 454.2 kB / 0.9524 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.832e-05/0.003493, allocations: 173.1 kB / 0.9526 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.003524, allocations: 80.14 kB / 0.9527 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.003546, allocations: 75.28 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.003584, allocations: 109.8 kB / 0.9528 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.003585, allocations: 0 / 0.9528 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 6.019e-05/0.003645, allocations: 37.58 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.003693, allocations: 134.7 kB / 0.953 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.003824, allocations: 172.2 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.003834, allocations: 25.7 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.003884, allocations: 92.14 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.003887, allocations: 0 / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.003914, allocations: 17.7 kB / 0.9533 GB, free: 432 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.004003, allocations: 322.8 kB / 0.9536 GB, free: 100 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.004017, allocations: 7.984 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.004027, allocations: 8 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.00406, allocations: 16.84 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.004062, allocations: 4.062 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001214/0.004184, allocations: 57.62 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.004198, allocations: 4 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.004203, allocations: 0 / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.004218, allocations: 0 / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.004276, allocations: 7.938 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.004281, allocations: 0 / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.0043, allocations: 7.938 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.00431, allocations: 4 kB / 0.9537 GB, free: 15.97 MB / 0.9167 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 7.902e-05/0.004389, allocations: 201.1 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.004432, allocations: 108.9 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.004473, allocations: 116.8 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/0.004515, allocations: 180.2 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.808e-05/0.004563, allocations: 188.2 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.253e-05/0.004606, allocations: 176.9 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.004768, allocations: 392.3 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-05/0.004797, allocations: 116.8 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.004823, allocations: 101 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.535e-05/0.004868, allocations: 180.2 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.004908, allocations: 180.5 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.082e-05/0.004949, allocations: 184.3 kB / 0.9557 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.109e-05/0.00499, allocations: 184.2 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.65e-05/0.005087, allocations: 315.6 kB / 0.9562 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.005124, allocations: 108.9 kB / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.005176, allocations: 188.2 kB / 0.9565 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.005224, allocations: 104.9 kB / 0.9566 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.005271, allocations: 180.3 kB / 0.9568 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.005296, allocations: 104.9 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.878e-05/0.005365, allocations: 137.2 kB / 0.957 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005365, allocations: 0 / 0.957 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001479/0.005513, allocations: 4 kB / 0.957 GB, free: 12.4 MB / 0.9167 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.0002667/0.005779, allocations: 0.8087 MB / 0.9578 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.295e-05/0.005842, allocations: 11.94 kB / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.005844, allocations: 0 / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.005846, allocations: 4 kB / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.006166, allocations: 467.7 kB / 0.9583 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009399/0.007106, allocations: 1.597 MB / 0.9598 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.007156, allocations: 79.31 kB / 0.9599 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.007175, allocations: 8.062 kB / 0.9599 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.007213, allocations: 20.5 kB / 0.9599 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.007213, allocations: 0 / 0.9599 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.02423, allocations: 2.298 MB / 0.9622 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.688, allocations: 9.031 kB / 0.9622 GB, free: 7.117 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_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_MultiMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.MultiMin_res.csv. Warning: Get data of variable con[1].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[2].y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[2].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[3].y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[3].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[4].y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[4].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[5].y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[5].y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.907681240700185]