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.0009202/0.0009202, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001106/0.001106, allocations: 218.8 kB / 23.03 MB, free: 2.965 MB / 13.93 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.032/1.032, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.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.98/1.98, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 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.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 0.001042/0.001042, allocations: 77.22 kB / 1.177 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3518, allocations: 180 MB / 1.352 GB, free: 9.227 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001715/0.3535, allocations: 0.7685 MB / 1.353 GB, free: 8.461 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.3544, allocations: 0.8822 MB / 1.354 GB, free: 7.566 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.3545, allocations: 0 / 1.354 GB, free: 7.566 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.3545, allocations: 11.86 kB / 1.354 GB, free: 7.555 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.3546, allocations: 3.938 kB / 1.354 GB, free: 7.551 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.3548, allocations: 43.89 kB / 1.354 GB, free: 7.508 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.569e-05/0.3549, allocations: 87.81 kB / 1.354 GB, free: 7.422 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.355, allocations: 23.98 kB / 1.354 GB, free: 7.398 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.422e-05/0.3551, allocations: 31.86 kB / 1.354 GB, free: 7.367 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.3551, allocations: 51.81 kB / 1.354 GB, free: 7.316 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3552, allocations: 8 kB / 1.354 GB, free: 7.309 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.3552, allocations: 8 kB / 1.354 GB, free: 7.301 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.3552, allocations: 15.92 kB / 1.354 GB, free: 7.285 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.3552, allocations: 31.84 kB / 1.354 GB, free: 7.254 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.3554, allocations: 91.88 kB / 1.354 GB, free: 7.164 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3554, allocations: 0 / 1.354 GB, free: 7.164 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3554, allocations: 0 / 1.354 GB, free: 7.164 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3554, allocations: 0 / 1.354 GB, free: 7.164 MB / 1.042 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.0004384/0.3558, allocations: 327.7 kB / 1.355 GB, free: 6.816 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3558, allocations: 8.922 kB / 1.355 GB, free: 6.809 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.3559, allocations: 38.69 kB / 1.355 GB, free: 6.762 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.3559, allocations: 8.891 kB / 1.355 GB, free: 6.754 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.356, allocations: 118.5 kB / 1.355 GB, free: 6.613 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.356, allocations: 8.375 kB / 1.355 GB, free: 6.605 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3561, allocations: 4.125 kB / 1.355 GB, free: 6.602 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.3562, allocations: 109.5 kB / 1.355 GB, free: 6.488 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.3563, allocations: 0 / 1.355 GB, free: 6.488 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3563, allocations: 4 kB / 1.355 GB, free: 6.484 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3563, allocations: 0 / 1.355 GB, free: 6.484 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.3565, allocations: 103.8 kB / 1.355 GB, free: 6.383 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.3569, allocations: 295.8 kB / 1.355 GB, free: 6.051 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.3572, allocations: 118.5 kB / 1.356 GB, free: 5.926 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.924e-05/0.3573, allocations: 52.88 kB / 1.356 GB, free: 5.871 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.3574, allocations: 4 kB / 1.356 GB, free: 5.867 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.3574, allocations: 30.56 kB / 1.356 GB, free: 5.828 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.3574, allocations: 0 / 1.356 GB, free: 5.828 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0007211/0.3581, allocations: 189.7 kB / 1.356 GB, free: 5.637 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.3581, allocations: 51.41 kB / 1.356 GB, free: 5.574 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.3582, allocations: 125.7 kB / 1.356 GB, free: 5.441 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3582, allocations: 29.7 kB / 1.356 GB, free: 5.406 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.3583, allocations: 100.1 kB / 1.356 GB, free: 5.305 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3583, allocations: 19.8 kB / 1.356 GB, free: 5.285 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.3583, allocations: 25.7 kB / 1.356 GB, free: 5.254 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.3584, allocations: 318.8 kB / 1.356 GB, free: 4.934 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.3585, allocations: 47.95 kB / 1.357 GB, free: 4.887 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.452e-05/0.3586, allocations: 48.02 kB / 1.357 GB, free: 4.84 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3588, allocations: 96.78 kB / 1.357 GB, free: 4.742 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3588, allocations: 0 / 1.357 GB, free: 4.742 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002162/0.359, allocations: 141.5 kB / 1.357 GB, free: 4.598 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.359, allocations: 6.344 kB / 1.357 GB, free: 4.594 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.359, allocations: 0 / 1.357 GB, free: 4.594 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.359, allocations: 3.938 kB / 1.357 GB, free: 4.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.3591, allocations: 23.97 kB / 1.357 GB, free: 4.566 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3591, allocations: 7.938 kB / 1.357 GB, free: 4.559 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.3592, allocations: 19.97 kB / 1.357 GB, free: 4.539 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3592, allocations: 8 kB / 1.357 GB, free: 4.531 MB / 1.042 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 7.591e-05/0.3593, allocations: 114.4 kB / 1.357 GB, free: 4.41 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.3593, allocations: 7.953 kB / 1.357 GB, free: 4.402 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.3596, allocations: 153.9 kB / 1.357 GB, free: 4.242 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3596, allocations: 4 kB / 1.357 GB, free: 4.238 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3596, allocations: 3.938 kB / 1.357 GB, free: 4.234 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3596, allocations: 0 / 1.357 GB, free: 4.234 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.3597, allocations: 152.7 kB / 1.357 GB, free: 4.043 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3597, allocations: 0 / 1.357 GB, free: 4.043 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.3598, allocations: 27.95 kB / 1.357 GB, free: 4.016 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3598, allocations: 3.938 kB / 1.357 GB, free: 4.012 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3598, allocations: 11.98 kB / 1.357 GB, free: 4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3598, allocations: 3.938 kB / 1.357 GB, free: 3.996 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3598, allocations: 3.938 kB / 1.357 GB, free: 3.992 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.3601, allocations: 235.4 kB / 1.358 GB, free: 3.746 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.3601, allocations: 11.89 kB / 1.358 GB, free: 3.734 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3601, allocations: 0 / 1.358 GB, free: 3.734 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.3601, allocations: 19.92 kB / 1.358 GB, free: 3.715 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.3602, allocations: 23.91 kB / 1.358 GB, free: 3.691 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3602, allocations: 4 kB / 1.358 GB, free: 3.688 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.3603, allocations: 91.27 kB / 1.358 GB, free: 3.598 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.3603, allocations: 8 kB / 1.358 GB, free: 3.59 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001501/0.3604, allocations: 16 kB / 1.358 GB, free: 3.574 MB / 1.042 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.000453/0.3609, allocations: 0.7632 MB / 1.358 GB, free: 2.785 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.3611, allocations: 108.3 kB / 1.359 GB, free: 2.68 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3611, allocations: 0 / 1.359 GB, free: 2.68 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3612, allocations: 59.94 kB / 1.359 GB, free: 2.621 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3615, allocations: 9.016 kB / 1.359 GB, free: 2.613 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3628, allocations: 1.544 MB / 1.36 GB, free: 0.9883 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.294e-05/0.3629, allocations: 83.08 kB / 1.36 GB, free: 0.8867 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.611e-05/0.3629, allocations: 12 kB / 1.36 GB, free: 0.875 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.363, allocations: 27.42 kB / 1.36 GB, free: 0.8477 MB / 1.042 GB Notification: Performance of SimCode: time 7.42e-07/0.363, allocations: 0 / 1.36 GB, free: 0.8477 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/0.4982, allocations: 3.358 MB / 1.364 GB, free: 13.63 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.664, allocations: 15.06 kB / 1.364 GB, free: 13.62 MB / 1.057 GB " [Timeout remaining time 292] (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: 13.073932299390435]