Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001823/0.001823, allocations: 104.2 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.002176/0.002176, 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.602/1.602, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.363/3.363, allocations: 0.505 GB / 0.8066 GB, free: 23.09 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.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_latest_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.002449/0.002449, allocations: 72.27 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4145, allocations: 180.2 MB / 1.348 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001852/0.4164, allocations: 0.6652 MB / 1.348 GB, free: 9.285 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.4165, allocations: 11.94 kB / 1.348 GB, free: 9.273 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.4165, allocations: 0 / 1.348 GB, free: 9.273 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.4166, allocations: 0 / 1.348 GB, free: 9.273 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.4167, allocations: 15.88 kB / 1.348 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.334e-05/0.4168, allocations: 7.984 kB / 1.348 GB, free: 9.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.325e-05/0.4169, allocations: 23.98 kB / 1.349 GB, free: 9.227 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.417, allocations: 23.98 kB / 1.349 GB, free: 9.203 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.417, allocations: 19.92 kB / 1.349 GB, free: 9.184 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.4171, allocations: 15.92 kB / 1.349 GB, free: 9.168 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.4171, allocations: 4 kB / 1.349 GB, free: 9.164 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.4171, allocations: 0 / 1.349 GB, free: 9.164 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.4172, allocations: 19.88 kB / 1.349 GB, free: 9.145 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.4172, allocations: 19.88 kB / 1.349 GB, free: 9.125 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.4173, allocations: 52.02 kB / 1.349 GB, free: 9.074 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4173, allocations: 0 / 1.349 GB, free: 9.074 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.409e-05/0.4173, allocations: 0 / 1.349 GB, free: 9.074 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4173, allocations: 0 / 1.349 GB, free: 9.074 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.0004131/0.4178, allocations: 355.3 kB / 1.349 GB, free: 8.676 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4178, allocations: 11.98 kB / 1.349 GB, free: 8.664 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.4179, allocations: 38.75 kB / 1.349 GB, free: 8.617 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.4179, allocations: 4.891 kB / 1.349 GB, free: 8.613 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.4181, allocations: 180.4 kB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4181, allocations: 4.375 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.4181, allocations: 8.312 kB / 1.349 GB, free: 8.387 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.4183, allocations: 82.16 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4183, allocations: 3.938 kB / 1.349 GB, free: 8.297 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.4183, allocations: 0 / 1.349 GB, free: 8.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4183, allocations: 4 kB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.4184, allocations: 47.97 kB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.4189, allocations: 491.1 kB / 1.35 GB, free: 7.715 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.913e-05/0.419, allocations: 169.1 kB / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.4191, allocations: 80.14 kB / 1.35 GB, free: 7.457 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.4191, allocations: 75.72 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/0.4192, allocations: 117.8 kB / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.4192, allocations: 0 / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.932e-05/0.4192, allocations: 29.7 kB / 1.35 GB, free: 7.223 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.4193, allocations: 130.6 kB / 1.35 GB, free: 7.082 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4195, allocations: 172.1 kB / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4195, allocations: 25.7 kB / 1.351 GB, free: 6.875 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.4196, allocations: 96.09 kB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-06/0.4196, allocations: 0 / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.4196, allocations: 17.72 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4198, allocations: 326.8 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.4198, allocations: 4 kB / 1.351 GB, free: 6.422 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.4198, allocations: 11.98 kB / 1.351 GB, free: 6.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.4199, allocations: 16.73 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.4199, allocations: 7.984 kB / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001185/0.42, allocations: 53.64 kB / 1.351 GB, free: 6.324 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.42, allocations: 4 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.42, allocations: 4.094 kB / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.42, allocations: 0 / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.4201, allocations: 8.047 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4201, allocations: 3.938 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.4201, allocations: 7.938 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.4201, allocations: 0 / 1.351 GB, free: 6.297 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.0001415/0.4203, allocations: 197.1 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.4204, allocations: 116.9 kB / 1.351 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.896e-05/0.4205, allocations: 120.8 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.709e-05/0.4205, allocations: 184.1 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.855e-05/0.4206, allocations: 176.3 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.595e-05/0.4207, allocations: 176.3 kB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.421, allocations: 429.1 kB / 1.352 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.627e-05/0.4211, allocations: 105 kB / 1.353 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.4212, allocations: 104.9 kB / 1.353 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.848e-05/0.4212, allocations: 176.3 kB / 1.353 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.833e-05/0.4213, allocations: 180.3 kB / 1.353 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.374e-05/0.4214, allocations: 192.1 kB / 1.353 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.762e-05/0.4215, allocations: 176.3 kB / 1.353 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.4217, allocations: 308.3 kB / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4218, allocations: 198 kB / 1.354 GB, free: 3.316 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/0.4219, allocations: 184.2 kB / 1.354 GB, free: 3.129 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.422, allocations: 105.2 kB / 1.354 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.4221, allocations: 184.2 kB / 1.354 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.4222, allocations: 105 kB / 1.354 GB, free: 2.723 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001278/0.4223, allocations: 131.2 kB / 1.355 GB, free: 2.594 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4223, allocations: 0 / 1.355 GB, free: 2.594 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002253/0.4225, allocations: 4 kB / 1.355 GB, free: 2.59 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.0005842/0.4231, allocations: 0.8166 MB / 1.355 GB, free: 1.746 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.569e-05/0.4232, allocations: 11.98 kB / 1.355 GB, free: 1.734 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4232, allocations: 0 / 1.355 GB, free: 1.734 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.017e-06/0.4232, allocations: 4 kB / 1.355 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.4237, allocations: 459 kB / 1.356 GB, free: 1.281 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4253, allocations: 1.606 MB / 1.357 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.4256, allocations: 0.6924 MB / 1.358 GB, free: 14.88 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.62e-05/0.4257, allocations: 8 kB / 1.358 GB, free: 14.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.4257, allocations: 15.44 kB / 1.358 GB, free: 14.85 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4257, allocations: 0 / 1.358 GB, free: 14.85 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.4499, allocations: 1.635 MB / 1.36 GB, free: 13.31 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.59, allocations: 14.3 kB / 1.36 GB, free: 13.3 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_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_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[1].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[2].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[2].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[3].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[3].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[4].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[4].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! Error: Could not read variable con[5].y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv. Warning: Get data of variable con[5].y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.783620164031163]