Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001279/0.001279, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001394/0.001394, allocations: 211.2 kB / 23.04 MB, free: 4.887 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9419/0.9419, allocations: 150 MB / 463.2 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001924/0.001924, allocations: 66.83 kB / 0.6413 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1772, allocations: 89.17 MB / 0.7284 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001929/0.1791, allocations: 0.6821 MB / 0.729 GB, free: 92 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1801, allocations: 0.851 MB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.1802, allocations: 4 kB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.1802, allocations: 3.938 kB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.531e-05/0.1803, allocations: 3.938 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.1804, allocations: 15.98 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.1805, allocations: 51.91 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1806, allocations: 15.97 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.1807, allocations: 15.94 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.1808, allocations: 27.84 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1808, allocations: 7.938 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.1808, allocations: 8 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.1808, allocations: 4 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.1808, allocations: 19.91 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.443e-05/0.1809, allocations: 48.03 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1809, allocations: 3.984 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1809, allocations: 4 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.181, allocations: 0 / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005131/0.1815, allocations: 282.2 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1815, allocations: 8.031 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.1815, allocations: 42.67 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.1816, allocations: 4.938 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1817, allocations: 118.4 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1817, allocations: 384 / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1817, allocations: 12.12 kB / 0.7305 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1819, allocations: 69.59 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1819, allocations: 0 / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1819, allocations: 4 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1819, allocations: 3.984 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.1821, allocations: 47.95 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.1826, allocations: 247.9 kB / 0.7309 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1828, allocations: 66.48 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1829, allocations: 36.91 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1829, allocations: 0 / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1829, allocations: 30.56 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1829, allocations: 0 / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004163/0.1833, allocations: 109.6 kB / 0.7311 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1834, allocations: 55.34 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.1835, allocations: 109.8 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1835, allocations: 25.7 kB / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.1835, allocations: 88.14 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1836, allocations: 15.89 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.1836, allocations: 17.72 kB / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1838, allocations: 322.8 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.1838, allocations: 19.98 kB / 0.7317 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.1839, allocations: 31.91 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1841, allocations: 48.81 kB / 0.7318 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1841, allocations: 0 / 0.7318 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002379/0.1844, allocations: 93.59 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1844, allocations: 4 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1844, allocations: 0 / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1844, allocations: 0 / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1845, allocations: 11.98 kB / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1845, allocations: 3.984 kB / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/0.1846, allocations: 11.94 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1846, allocations: 7.922 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.855e-05/0.1847, allocations: 118.2 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.1847, allocations: 3.953 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.1847, allocations: 11.98 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1847, allocations: 0 / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1848, allocations: 0 / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1848, allocations: 0 / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1849, allocations: 152.7 kB / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1849, allocations: 0 / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.185, allocations: 11.98 kB / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.185, allocations: 0 / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.185, allocations: 4 kB / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.185, allocations: 0 / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.185, allocations: 0 / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.1853, allocations: 187.3 kB / 0.7324 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-06/0.1853, allocations: 8 kB / 0.7324 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1853, allocations: 0 / 0.7324 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1854, allocations: 7.984 kB / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.1855, allocations: 11.98 kB / 0.7324 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1855, allocations: 4 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.1855, allocations: 95.52 kB / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1855, allocations: 0 / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000211/0.1858, allocations: 8 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005761/0.1863, allocations: 0.7085 MB / 0.7332 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1866, allocations: 59.94 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1866, allocations: 4 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1867, allocations: 27.92 kB / 0.7333 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.187, allocations: 14.03 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1885, allocations: 1.319 MB / 0.7346 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.97e-05/0.1885, allocations: 75.3 kB / 0.7347 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.1886, allocations: 4 kB / 0.7347 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.1886, allocations: 19.42 kB / 0.7347 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1886, allocations: 0 / 0.7347 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.2169, allocations: 2.418 MB / 0.7371 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.7, allocations: 2.406 kB / 0.7371 GB, free: 7.586 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.305903268978] Failed to read output from testmodel.py, exit status != 0: 10.809229888021946 10.823942741 10.640065567 Calling exit ...