Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.000846/0.000846, 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.0008912/0.0008912, 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.8673/0.8673, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.796/1.796, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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.Subtract,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.347e-05, allocations: 5.516 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001192/0.001205, allocations: 0.7465 MB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.00197, allocations: 0.8868 MB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.002013, allocations: 4 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.002043, allocations: 11.81 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.002116, allocations: 7.938 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.002262, allocations: 43.88 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.19e-05/0.002354, allocations: 83.77 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.002453, allocations: 19.92 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.048e-05/0.002544, allocations: 59.81 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.002606, allocations: 43.88 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.002628, allocations: 12 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.00264, allocations: 8 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.002659, allocations: 11.98 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.002688, allocations: 27.91 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.002803, allocations: 87.72 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.002806, allocations: 4 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002807, allocations: 0 / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.00281, allocations: 0 / 1.003 GB, free: 11.45 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.0004168/0.003227, allocations: 322 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.003264, allocations: 13.34 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.003298, allocations: 42.73 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.003324, allocations: 12.83 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.143e-05/0.003415, allocations: 121.6 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.003431, allocations: 8.375 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.003443, allocations: 4.375 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.003634, allocations: 101.9 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.003642, allocations: 4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.003652, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.003657, allocations: 4 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.003861, allocations: 99.89 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.004227, allocations: 291.8 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.004583, allocations: 114.6 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.004692, allocations: 56.81 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.004709, allocations: 11.97 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.004725, allocations: 34.5 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.004725, allocations: 0 / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004634/0.005189, allocations: 189.7 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.005214, allocations: 51.41 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.005285, allocations: 121.8 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.005297, allocations: 25.7 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.005339, allocations: 100 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.005359, allocations: 15.89 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.005394, allocations: 25.7 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.005468, allocations: 318.8 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.691e-05/0.005565, allocations: 43.95 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-05/0.005658, allocations: 51.95 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.005845, allocations: 100.6 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005847, allocations: 3.938 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000226/0.006073, allocations: 145.5 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.006084, allocations: 6.656 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006088, allocations: 0 / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.006099, allocations: 7.984 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.006179, allocations: 23.97 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.006184, allocations: 0 / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.006236, allocations: 15.98 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.006244, allocations: 3.938 kB / 1.005 GB, free: 8.816 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,sub.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.039e-05/0.006304, allocations: 124.4 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.006322, allocations: 7.953 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.00634, allocations: 12.42 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.006342, allocations: 4 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.006346, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.006348, allocations: 0 / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.00647, allocations: 160.6 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.006473, allocations: 4 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.006539, allocations: 27.97 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.00654, allocations: 0 / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.006548, allocations: 7.984 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006549, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.00655, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.006802, allocations: 235.3 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.006811, allocations: 7.953 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.006823, allocations: 0 / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.00689, allocations: 19.98 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.00695, allocations: 23.97 kB / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.006954, allocations: 0 / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.006993, allocations: 95.7 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006993, allocations: 0 / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001565/0.00715, allocations: 15.94 kB / 1.006 GB, free: 8.02 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 (sub.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.0004079/0.007558, allocations: 0.7709 MB / 1.007 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.007792, allocations: 103.8 kB / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.007793, allocations: 0 / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.007901, allocations: 60.5 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.008106, allocations: 8.328 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.009459, allocations: 1.549 MB / 1.008 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.009507, allocations: 79.52 kB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.696e-05/0.009554, allocations: 12 kB / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.009613, allocations: 32.42 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.009613, allocations: 0 / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07352/0.08313, allocations: 3.492 MB / 1.012 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.44, allocations: 8.062 kB / 1.012 GB, free: 1.926 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_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_Subtract.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.815329083241522]