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.00213/0.00213, allocations: 101.8 kB / 16.45 MB, free: 6.449 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.002245/0.002245, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.533/1.533, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.431/3.431, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.002057/0.002057, allocations: 75.61 kB / 1.172 GB, free: 17.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4433, allocations: 180.2 MB / 1.348 GB, free: 9.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001888/0.4452, allocations: 0.6633 MB / 1.348 GB, free: 9.254 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001548/0.4453, allocations: 15.98 kB / 1.348 GB, free: 9.238 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.4454, allocations: 3.938 kB / 1.348 GB, free: 9.234 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.38e-05/0.4455, allocations: 0 / 1.348 GB, free: 9.234 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.4455, allocations: 8 kB / 1.348 GB, free: 9.227 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.763e-05/0.4456, allocations: 0 / 1.348 GB, free: 9.227 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.4457, allocations: 39.91 kB / 1.349 GB, free: 9.188 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4458, allocations: 31.97 kB / 1.349 GB, free: 9.156 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.313e-05/0.4458, allocations: 15.94 kB / 1.349 GB, free: 9.141 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.432e-05/0.4459, allocations: 15.92 kB / 1.349 GB, free: 9.125 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.4459, allocations: 4 kB / 1.349 GB, free: 9.121 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.4459, allocations: 4 kB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.4459, allocations: 11.94 kB / 1.349 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.446, allocations: 23.86 kB / 1.349 GB, free: 9.082 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.4461, allocations: 51.97 kB / 1.349 GB, free: 9.031 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4461, allocations: 3.984 kB / 1.349 GB, free: 9.027 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4461, allocations: 0 / 1.349 GB, free: 9.027 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.4461, allocations: 0 / 1.349 GB, free: 9.027 MB / 1.045 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.0003981/0.4465, allocations: 351.3 kB / 1.349 GB, free: 8.633 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4465, allocations: 11.98 kB / 1.349 GB, free: 8.621 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.4465, allocations: 42.73 kB / 1.349 GB, free: 8.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.4466, allocations: 12.89 kB / 1.349 GB, free: 8.559 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.4467, allocations: 164.4 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.4468, allocations: 8.375 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.4468, allocations: 4.375 kB / 1.349 GB, free: 8.348 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.4469, allocations: 78.16 kB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.447, allocations: 7.875 kB / 1.349 GB, free: 8.258 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.447, allocations: 4 kB / 1.349 GB, free: 8.254 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.447, allocations: 4 kB / 1.349 GB, free: 8.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.687e-05/0.447, allocations: 43.97 kB / 1.349 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.4476, allocations: 495.1 kB / 1.35 GB, free: 7.672 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.4477, allocations: 165.1 kB / 1.35 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.4477, allocations: 84.14 kB / 1.35 GB, free: 7.414 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.4478, allocations: 75.72 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.415e-05/0.4478, allocations: 113.8 kB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4478, allocations: 0 / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.704e-05/0.4479, allocations: 37.62 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.448, allocations: 130.6 kB / 1.35 GB, free: 7.035 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.4482, allocations: 172 kB / 1.351 GB, free: 6.859 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.4482, allocations: 29.64 kB / 1.351 GB, free: 6.824 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.4483, allocations: 92.09 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.4483, allocations: 4 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.4483, allocations: 21.7 kB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4485, allocations: 318.8 kB / 1.351 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.4485, allocations: 7.984 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.397e-05/0.4485, allocations: 8 kB / 1.351 GB, free: 6.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.4485, allocations: 12.84 kB / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4485, allocations: 0 / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000121/0.4487, allocations: 57.58 kB / 1.351 GB, free: 6.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4487, allocations: 8.094 kB / 1.351 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4487, allocations: 0 / 1.351 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.4487, allocations: 0 / 1.351 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.4488, allocations: 15.92 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.4488, allocations: 112 / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.4488, allocations: 11.88 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.4488, allocations: 4 kB / 1.351 GB, free: 6.246 MB / 1.045 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.0001221/0.4489, allocations: 193.1 kB / 1.351 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.449, allocations: 116.9 kB / 1.351 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.4491, allocations: 108.9 kB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.45e-05/0.4491, allocations: 184.2 kB / 1.352 GB, free: 5.617 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.862e-05/0.4492, allocations: 184.2 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.247e-05/0.4493, allocations: 180.3 kB / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.4496, allocations: 421.1 kB / 1.352 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-05/0.4497, allocations: 105 kB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.4497, allocations: 101 kB / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.94e-05/0.4498, allocations: 184.2 kB / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/0.4499, allocations: 180.3 kB / 1.353 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.491e-05/0.4499, allocations: 184.1 kB / 1.353 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.528e-05/0.45, allocations: 180.3 kB / 1.353 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.4502, allocations: 316.3 kB / 1.354 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.4503, allocations: 194 kB / 1.354 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.691e-05/0.4504, allocations: 180.2 kB / 1.354 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.4505, allocations: 105.2 kB / 1.354 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.4506, allocations: 188.2 kB / 1.354 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.4507, allocations: 104.9 kB / 1.354 GB, free: 2.68 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001158/0.4508, allocations: 133 kB / 1.355 GB, free: 2.551 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4508, allocations: 0 / 1.355 GB, free: 2.551 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000225/0.451, allocations: 4 kB / 1.355 GB, free: 2.547 MB / 1.045 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.0005095/0.4515, allocations: 0.8088 MB / 1.355 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.4516, allocations: 19.86 kB / 1.355 GB, free: 1.691 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4516, allocations: 0 / 1.355 GB, free: 1.691 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.4516, allocations: 0 / 1.355 GB, free: 1.691 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.4521, allocations: 467.7 kB / 1.356 GB, free: 1.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4537, allocations: 1.612 MB / 1.357 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.454, allocations: 0.6885 MB / 1.358 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.4541, allocations: 7.984 kB / 1.358 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.4541, allocations: 19.42 kB / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.4541, allocations: 0 / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.4806, allocations: 1.637 MB / 1.36 GB, free: 13.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.688, allocations: 5.859 kB / 1.36 GB, free: 13.25 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.90488462196663]