Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001912/0.001912, allocations: 104.5 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.002318/0.002318, 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.537/1.537, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.256/3.256, allocations: 0.49 GB / 0.7916 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_12_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.002078/0.002078, allocations: 71.16 kB / 1.149 GB, free: 26.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3917, allocations: 176.1 MB / 1.321 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002235/0.3939, allocations: 0.6584 MB / 1.322 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.3941, allocations: 8 kB / 1.322 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.3942, allocations: 3.938 kB / 1.322 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.3943, allocations: 0 / 1.322 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.3943, allocations: 4 kB / 1.322 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.972e-05/0.3944, allocations: 15.92 kB / 1.322 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3946, allocations: 31.98 kB / 1.322 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.3947, allocations: 27.97 kB / 1.322 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.3947, allocations: 15.92 kB / 1.322 GB, free: 2.664 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.779e-05/0.3948, allocations: 11.94 kB / 1.322 GB, free: 2.652 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3948, allocations: 4 kB / 1.322 GB, free: 2.648 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.3948, allocations: 4 kB / 1.322 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.3949, allocations: 19.92 kB / 1.322 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.3949, allocations: 19.88 kB / 1.322 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.395, allocations: 51.95 kB / 1.322 GB, free: 2.555 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.395, allocations: 7.938 kB / 1.322 GB, free: 2.547 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/0.395, allocations: 0 / 1.322 GB, free: 2.547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.395, allocations: 0 / 1.322 GB, free: 2.547 MB / 1.014 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.0004373/0.3955, allocations: 347.3 kB / 1.322 GB, free: 2.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3955, allocations: 11.98 kB / 1.322 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.3956, allocations: 42.73 kB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3956, allocations: 8.891 kB / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.3958, allocations: 180.4 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3958, allocations: 384 / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.3958, allocations: 4.375 kB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.396, allocations: 86.05 kB / 1.322 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.396, allocations: 3.938 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3961, allocations: 3.984 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3961, allocations: 4 kB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.3962, allocations: 47.97 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.3968, allocations: 487.1 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3969, allocations: 173.1 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.3969, allocations: 80.14 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.397, allocations: 75.72 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.917e-05/0.3971, allocations: 113.8 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3971, allocations: 0 / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.904e-05/0.3972, allocations: 37.59 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.3972, allocations: 130.6 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3974, allocations: 169.8 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3975, allocations: 25.7 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.3975, allocations: 100.1 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.3975, allocations: 0 / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.3976, allocations: 21.72 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3978, allocations: 314.8 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.3978, allocations: 11.98 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.3978, allocations: 4 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.3978, allocations: 16.95 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3978, allocations: 7.875 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000143/0.398, allocations: 53.64 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.398, allocations: 7.984 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.398, allocations: 4.094 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.398, allocations: 4 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.3981, allocations: 3.938 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3981, allocations: 0 / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.3981, allocations: 11.94 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3981, allocations: 4 kB / 1.324 GB, free: 15.76 MB / 1.029 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.0001281/0.3983, allocations: 189.1 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.3984, allocations: 116.8 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.3984, allocations: 116.9 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.671e-05/0.3985, allocations: 184.2 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.005e-05/0.3986, allocations: 180.2 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.25e-05/0.3987, allocations: 180.3 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.399, allocations: 421.1 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-05/0.3991, allocations: 105 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.3991, allocations: 105 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.124e-05/0.3992, allocations: 184.2 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/0.3993, allocations: 180.3 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.859e-05/0.3994, allocations: 184.1 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.775e-05/0.3995, allocations: 176.3 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.3997, allocations: 319.7 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.3998, allocations: 186.1 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.896e-05/0.3999, allocations: 180.2 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4, allocations: 109.2 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.4001, allocations: 184.3 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.4001, allocations: 108.9 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000122/0.4002, allocations: 128.8 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4002, allocations: 0 / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002423/0.4005, allocations: 4 kB / 1.328 GB, free: 12.07 MB / 1.029 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.0005342/0.401, allocations: 0.8166 MB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.096e-05/0.4011, allocations: 15.94 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4011, allocations: 0 / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.4011, allocations: 0 / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.4016, allocations: 471.5 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.4032, allocations: 1.604 MB / 1.33 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.4036, allocations: 0.6885 MB / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.4036, allocations: 7.984 kB / 1.331 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.4037, allocations: 19.44 kB / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4037, allocations: 0 / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.4307, allocations: 1.639 MB / 1.333 GB, free: 6.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.507, allocations: 9.344 kB / 1.333 GB, free: 6.762 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[1].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[2].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[2].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[3].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[3].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[4].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[4].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! Error: Could not read variable con[5].y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv. Warning: Get data of variable con[5].y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.60898833302781]