Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.0008296/0.0008296, 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.000832/0.000832, allocations: 177.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.9761/0.9761, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.931/1.931, allocations: 389.5 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] 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.Integers.Validation.Max,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.847e-05, allocations: 6.281 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001876/0.001895, allocations: 0.7523 MB / 1.001 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003074, allocations: 0.8868 MB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.00313, allocations: 0 / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.003165, allocations: 7.922 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.057e-05/0.003256, allocations: 15.81 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.003461, allocations: 43.88 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.003587, allocations: 87.77 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.003704, allocations: 19.97 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.003837, allocations: 47.91 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.003927, allocations: 39.94 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.003956, allocations: 11.94 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.003971, allocations: 8 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.004, allocations: 19.91 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.004043, allocations: 27.92 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.004199, allocations: 103.6 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004201, allocations: 0 / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.323e-06/0.004203, allocations: 4 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004207, allocations: 0 / 1.003 GB, free: 11.41 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005707/0.004778, allocations: 314 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.004824, allocations: 9.344 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.004871, allocations: 38.75 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.004903, allocations: 8.891 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.005021, allocations: 121.7 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.005039, allocations: 4.375 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.005055, allocations: 8.375 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.005335, allocations: 113.9 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.005344, allocations: 4 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.005359, allocations: 0 / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.005364, allocations: 3.938 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.005672, allocations: 95.91 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.006202, allocations: 295.8 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.006749, allocations: 118.5 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.006908, allocations: 52.81 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.006927, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.006951, allocations: 34.56 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.006952, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.00055/0.007502, allocations: 189.4 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.007536, allocations: 55.41 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.007621, allocations: 117.8 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.007637, allocations: 29.7 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.007698, allocations: 100 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.007721, allocations: 11.91 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.007767, allocations: 29.7 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.007863, allocations: 322.8 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.007999, allocations: 47.95 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.008129, allocations: 47.94 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.008384, allocations: 96.78 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008386, allocations: 0 / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003245/0.008711, allocations: 137.5 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.008725, allocations: 4 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008729, allocations: 0 / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.008741, allocations: 0 / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.008863, allocations: 31.91 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.008868, allocations: 8 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.008936, allocations: 23.91 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.008943, allocations: 3.938 kB / 1.005 GB, free: 8.793 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.325e-05/0.009007, allocations: 120.4 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.009024, allocations: 7.953 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.00929, allocations: 150 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.009293, allocations: 3.984 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.009297, allocations: 4 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.0093, allocations: 0 / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.009432, allocations: 164.6 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.009433, allocations: 0 / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.009502, allocations: 23.97 kB / 1.006 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009504, allocations: 7.984 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.009512, allocations: 0 / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.009513, allocations: 0 / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.009514, allocations: 7.984 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.009767, allocations: 227.3 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-06/0.009777, allocations: 11.94 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.00979, allocations: 4 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.009856, allocations: 11.98 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.009918, allocations: 23.97 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.009923, allocations: 4 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.009963, allocations: 99.64 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009963, allocations: 0 / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001622/0.01013, allocations: 23.89 kB / 1.006 GB, free: 7.844 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004388/0.01056, allocations: 0.7638 MB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.0108, allocations: 108 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.0108, allocations: 0 / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.01091, allocations: 63.94 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.01111, allocations: 11.88 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.01253, allocations: 1.541 MB / 1.008 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.311e-05/0.01258, allocations: 75.33 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.383e-05/0.01263, allocations: 8 kB / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.01269, allocations: 40.47 kB / 1.008 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.01269, allocations: 3.938 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0771/0.0898, allocations: 3.488 MB / 1.012 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/7.008, allocations: 12.72 kB / 1.012 GB, free: 1.758 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max_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_Integers_Validation_Max.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.670844075269997]