Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008216/0.0008216, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.00117/0.00117, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9649/0.9649, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.928/1.928, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.MultiMax,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 3.938 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.94e-05, allocations: 2.281 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001208/0.001228, allocations: 0.6483 MB / 1.001 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.001376, allocations: 11.98 kB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.001419, allocations: 3.938 kB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.774e-05/0.001516, allocations: 7.922 kB / 1.001 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.001552, allocations: 0 / 1.001 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.691e-05/0.001619, allocations: 7.938 kB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.921e-05/0.001698, allocations: 23.92 kB / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.001838, allocations: 27.92 kB / 1.001 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.001876, allocations: 19.98 kB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.00191, allocations: 23.91 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.001928, allocations: 0 / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.00194, allocations: 4 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.00197, allocations: 8 kB / 1.001 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.002, allocations: 11.94 kB / 1.002 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.193e-05/0.002091, allocations: 47.8 kB / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002093, allocations: 0 / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002094, allocations: 0 / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.002098, allocations: 0 / 1.002 GB, free: 12.61 MB / 0.9636 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.0002654/0.002363, allocations: 278.2 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.002403, allocations: 13.34 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.002437, allocations: 34.75 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.135e-05/0.002458, allocations: 4.938 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.00258, allocations: 133.6 kB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.002588, allocations: 384 / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.002598, allocations: 8.375 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.00273, allocations: 74.22 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.002739, allocations: 192 / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.002748, allocations: 8.312 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.002753, allocations: 4.125 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.00281, allocations: 47.97 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.00318, allocations: 458.2 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.414e-05/0.003244, allocations: 165.1 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.003269, allocations: 80.14 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.003291, allocations: 83.22 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.003324, allocations: 109.8 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.003325, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.926e-05/0.003385, allocations: 37.64 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.003427, allocations: 126.7 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.003554, allocations: 171.8 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-06/0.003563, allocations: 25.7 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.00361, allocations: 100.1 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-06/0.003615, allocations: 3.984 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.003644, allocations: 9.719 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.003724, allocations: 322.8 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.003738, allocations: 7.984 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.00375, allocations: 11.94 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.003781, allocations: 16.84 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.003783, allocations: 3.938 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.263e-05/0.003876, allocations: 45.69 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.003893, allocations: 8.094 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.003897, allocations: 4 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.003907, allocations: 0 / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.003956, allocations: 3.984 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.003961, allocations: 7.984 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.00398, allocations: 11.89 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.003988, allocations: 112 / 1.004 GB, free: 10.04 MB / 0.9636 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.0001416/0.00413, allocations: 207.6 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.004168, allocations: 112.9 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.004203, allocations: 112.8 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-05/0.004247, allocations: 189 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.609e-05/0.004303, allocations: 180.3 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/0.004341, allocations: 176.3 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.004494, allocations: 396.2 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/0.004523, allocations: 109 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.004591, allocations: 104.9 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-05/0.004631, allocations: 180.3 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.004671, allocations: 176.5 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.813e-05/0.004709, allocations: 184.2 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.933e-05/0.004748, allocations: 184.3 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.637e-05/0.004845, allocations: 315.7 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.004881, allocations: 116.9 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.004931, allocations: 180.2 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.004985, allocations: 109 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.005036, allocations: 180.2 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.005059, allocations: 101 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.405e-05/0.005133, allocations: 141.8 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005133, allocations: 0 / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001494/0.005283, allocations: 4 kB / 1.007 GB, free: 6.461 MB / 0.9636 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.0003353/0.005618, allocations: 0.8048 MB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.258e-05/0.005681, allocations: 16 kB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.005682, allocations: 0 / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.005683, allocations: 0 / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.005991, allocations: 467.7 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.007034, allocations: 1.612 MB / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.007086, allocations: 75.31 kB / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.007105, allocations: 4 kB / 1.01 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.007142, allocations: 20.5 kB / 1.01 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of SimCode: time 9.11e-07/0.007143, allocations: 0 / 1.01 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07789/0.08503, allocations: 2.287 MB / 1.012 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.56, allocations: 0 / 1.012 GB, free: 1.184 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.378972792997956]