Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.00136/0.00136, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001483/0.001483, allocations: 210.9 kB / 22.99 MB, free: 4.605 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 1.069/1.069, allocations: 149.9 MB / 463.1 MB, free: 10.37 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.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",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.002159/0.002159, allocations: 71.2 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.192, allocations: 89.17 MB / 0.7282 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002132/0.1941, allocations: 0.7226 MB / 0.7289 GB, free: 344 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1957, allocations: 1.093 MB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.1958, allocations: 4 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.1958, allocations: 3.938 kB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.049e-05/0.1959, allocations: 7.875 kB / 0.73 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.1962, allocations: 59.81 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1964, allocations: 67.78 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1965, allocations: 20.16 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.1966, allocations: 27.92 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.1967, allocations: 31.84 kB / 0.7302 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.1967, allocations: 8 kB / 0.7302 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.1968, allocations: 15.98 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.1968, allocations: 11.98 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.1968, allocations: 27.86 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.197, allocations: 83.91 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.197, allocations: 0 / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.197, allocations: 0 / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.197, allocations: 0 / 0.7303 GB, free: 14.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006165/0.1976, allocations: 306 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1977, allocations: 16.03 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.1977, allocations: 34.75 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1978, allocations: 8.891 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1979, allocations: 114.4 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1979, allocations: 4.375 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1979, allocations: 8.375 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1981, allocations: 69.91 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1982, allocations: 4 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1982, allocations: 0 / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1982, allocations: 0 / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.1984, allocations: 47.95 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.199, allocations: 291.7 kB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1992, allocations: 54.48 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-05/0.1993, allocations: 28.95 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1993, allocations: 8 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.1995, allocations: 87.39 kB / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1996, allocations: 0 / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004118/0.2, allocations: 117.6 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.2, allocations: 63.39 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2001, allocations: 120.2 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2001, allocations: 25.7 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.2002, allocations: 100.1 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2002, allocations: 15.91 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.2003, allocations: 33.7 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2004, allocations: 318.8 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.2005, allocations: 27.97 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.2007, allocations: 77.92 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.2009, allocations: 109.9 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2009, allocations: 7.938 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003058/0.2012, allocations: 129.7 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2013, allocations: 11.94 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2013, allocations: 0 / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.2013, allocations: 7.984 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2014, allocations: 15.98 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2014, allocations: 4 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.2015, allocations: 7.938 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2015, allocations: 7.984 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001099/0.2016, allocations: 129.7 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.2017, allocations: 3.953 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.2017, allocations: 12.38 kB / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2017, allocations: 0 / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2017, allocations: 0 / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2017, allocations: 0 / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.2022, allocations: 349.5 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2022, allocations: 0 / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.2023, allocations: 11.98 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2023, allocations: 0 / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2023, allocations: 4 kB / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2023, allocations: 3.938 kB / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2023, allocations: 0 / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.2026, allocations: 199.5 kB / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.2026, allocations: 7.953 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.2026, allocations: 0 / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.2027, allocations: 15.92 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2027, allocations: 11.88 kB / 0.7332 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2027, allocations: 0 / 0.7332 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.2028, allocations: 99.27 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2028, allocations: 0 / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002583/0.2031, allocations: 19.94 kB / 0.7333 GB, free: 11.46 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006823/0.2038, allocations: 0.742 MB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.204, allocations: 84.14 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.204, allocations: 4 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2042, allocations: 31.97 kB / 0.7341 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.2046, allocations: 14.12 kB / 0.7342 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.2065, allocations: 1.521 MB / 0.7356 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.271e-05/0.2066, allocations: 71.33 kB / 0.7357 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.2066, allocations: 8 kB / 0.7357 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.2067, allocations: 23.42 kB / 0.7357 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2067, allocations: 0 / 0.7357 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.2373, allocations: 2.683 MB / 0.7384 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.61, allocations: 5 kB / 0.7384 GB, free: 6.297 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.630956761073321] Failed to read output from testmodel.py, exit status != 0: 11.719450953882188 11.743961466 11.542360426 Calling exit ...