Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001312/0.001312, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001482/0.001482, allocations: 213.6 kB / 22.24 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.414/3.414, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",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.002308/0.002308, allocations: 67.94 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3752, allocations: 181.9 MB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002336/0.3776, allocations: 0.6555 MB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.3778, allocations: 8 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.3778, allocations: 3.938 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.3779, allocations: 3.984 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.378, allocations: 3.938 kB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.3781, allocations: 8 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.3782, allocations: 39.91 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3784, allocations: 23.97 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.364e-05/0.3784, allocations: 11.94 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.3785, allocations: 15.92 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.3785, allocations: 8 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.3785, allocations: 4 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.3785, allocations: 8 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.3786, allocations: 15.88 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.3787, allocations: 55.95 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3787, allocations: 0 / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3787, allocations: 4 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3787, allocations: 0 / 1.364 GB, free: 13.1 MB / 1.061 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.0004568/0.3792, allocations: 274.2 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.3792, allocations: 8.031 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.3793, allocations: 38.75 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3793, allocations: 8.891 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.3795, allocations: 118.5 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3796, allocations: 4.375 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.3796, allocations: 8.375 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3798, allocations: 82.09 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3798, allocations: 3.938 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3798, allocations: 0 / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.3798, allocations: 7.938 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.658e-05/0.3799, allocations: 47.97 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.3805, allocations: 454.7 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3806, allocations: 173.2 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.3806, allocations: 80.14 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.3807, allocations: 75.28 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/0.3807, allocations: 109.8 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3807, allocations: 3.938 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.579e-05/0.3808, allocations: 33.66 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.3809, allocations: 134.6 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3811, allocations: 165.8 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3811, allocations: 29.7 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.3812, allocations: 92.12 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.3812, allocations: 8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.3812, allocations: 17.7 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3814, allocations: 314.8 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.3814, allocations: 11.98 kB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.319e-05/0.3814, allocations: 4 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.3815, allocations: 20.78 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3815, allocations: 4 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001316/0.3816, allocations: 49.64 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3816, allocations: 6.344 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3816, allocations: 12.19 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3816, allocations: 3.938 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.3817, allocations: 7.922 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3817, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.3817, allocations: 11.89 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3817, allocations: 4 kB / 1.367 GB, free: 10.52 MB / 1.061 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.0001226/0.3819, allocations: 189.8 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.382, allocations: 112.9 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.382, allocations: 108.8 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.502e-05/0.3821, allocations: 184.2 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-05/0.3822, allocations: 188.2 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.241e-05/0.3823, allocations: 176.3 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.3825, allocations: 392.2 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-05/0.3826, allocations: 105 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.3826, allocations: 105 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.896e-05/0.3827, allocations: 185.3 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.394e-05/0.3828, allocations: 180.3 kB / 1.368 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.062e-05/0.3829, allocations: 184.1 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.159e-05/0.3829, allocations: 180.3 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.3831, allocations: 315.7 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.3832, allocations: 112.9 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3833, allocations: 188.2 kB / 1.369 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3834, allocations: 109.2 kB / 1.369 GB, free: 7.383 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.3835, allocations: 184.2 kB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.3835, allocations: 101 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001129/0.3836, allocations: 131.2 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3836, allocations: 0 / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002252/0.3839, allocations: 8 kB / 1.37 GB, free: 6.953 MB / 1.061 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.0005355/0.3844, allocations: 0.8126 MB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.49e-05/0.3845, allocations: 8 kB / 1.371 GB, free: 6.105 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3845, allocations: 4.062 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3845, allocations: 0 / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.385, allocations: 479.5 kB / 1.371 GB, free: 5.629 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3866, allocations: 1.584 MB / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.571e-05/0.3867, allocations: 77.72 kB / 1.373 GB, free: 3.871 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.3867, allocations: 7.984 kB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.3867, allocations: 19.44 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/0.3867, allocations: 0 / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.4196, allocations: 2.149 MB / 1.375 GB, free: 1.828 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 7.281 kB / 1.375 GB, free: 1.824 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[1].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[2].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[2].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[3].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[3].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[4].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[4].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[5].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[5].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.09396628336981]