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.001697/0.001697, 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.002073/0.002073, allocations: 213 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9823/0.9823, allocations: 150 MB / 463.2 MB, free: 10.64 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.002074/0.002074, allocations: 70.41 kB / 0.6413 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1692, allocations: 89.17 MB / 0.7284 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002053/0.1712, allocations: 0.7205 MB / 0.7291 GB, free: 104 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1728, allocations: 1.085 MB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.1728, allocations: 7.938 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.1729, allocations: 7.922 kB / 0.7302 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.1729, allocations: 7.875 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1733, allocations: 51.89 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1734, allocations: 75.77 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1735, allocations: 16.12 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.1736, allocations: 31.91 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.1736, allocations: 27.84 kB / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1737, allocations: 8 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.1737, allocations: 15.98 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.1737, allocations: 15.97 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.1738, allocations: 27.86 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1739, allocations: 79.97 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.174, allocations: 0 / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.174, allocations: 0 / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.174, allocations: 4 kB / 0.7305 GB, free: 14.63 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.0005464/0.1745, allocations: 312.3 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1745, allocations: 12.03 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.1746, allocations: 38.73 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.1746, allocations: 4.938 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1748, allocations: 111.5 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1748, allocations: 4.375 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1748, allocations: 8.375 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.175, allocations: 77.84 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.175, allocations: 4 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.175, allocations: 7.922 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.175, allocations: 0 / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.1752, allocations: 43.95 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.1759, allocations: 279.8 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1761, allocations: 54.58 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1762, allocations: 28.97 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1763, allocations: 4 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.1765, allocations: 79.36 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.1765, allocations: 0 / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004878/0.177, allocations: 129.5 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.1771, allocations: 59.41 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1772, allocations: 126.6 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1772, allocations: 25.7 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.1773, allocations: 92.09 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1773, allocations: 19.88 kB / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.1774, allocations: 33.7 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1775, allocations: 318.8 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1777, allocations: 27.97 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.1778, allocations: 74.75 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.1781, allocations: 109.8 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.1781, allocations: 4 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003375/0.1784, allocations: 133.5 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1784, allocations: 4 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1784, allocations: 4 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1784, allocations: 4 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1786, allocations: 19.92 kB / 0.7327 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.1786, allocations: 11.92 kB / 0.7327 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.1787, allocations: 11.89 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1787, allocations: 8.219 kB / 0.7327 GB, free: 12.16 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.0001179/0.1788, allocations: 129.8 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1788, allocations: 0 / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.1789, allocations: 8.375 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1789, allocations: 0 / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1789, allocations: 0 / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1789, allocations: 3.938 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.1794, allocations: 341.5 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1794, allocations: 4 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.1795, allocations: 12 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1795, allocations: 3.938 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.1795, allocations: 3.984 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1795, allocations: 3.938 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1795, allocations: 0 / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.1798, allocations: 199.5 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.1798, allocations: 7.953 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1798, allocations: 3.984 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.1799, allocations: 15.94 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.18, allocations: 7.984 kB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.18, allocations: 0 / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.18, allocations: 98.77 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.18, allocations: 0 / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000266/0.1803, allocations: 19.94 kB / 0.7335 GB, free: 11.24 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.0006956/0.181, allocations: 0.7358 MB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.1813, allocations: 83.86 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.1813, allocations: 4 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.1814, allocations: 35.91 kB / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1817, allocations: 12.64 kB / 0.7344 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.1837, allocations: 1.524 MB / 0.7358 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.349e-05/0.1838, allocations: 67.34 kB / 0.7359 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.1838, allocations: 11.98 kB / 0.7359 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.1838, allocations: 19.44 kB / 0.7359 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.1838, allocations: 0 / 0.7359 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.2127, allocations: 2.684 MB / 0.7386 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.31, allocations: 6.312 kB / 0.7386 GB, free: 6.074 MB / 0.5606 GB " [Timeout remaining time 649] (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.22863352485001] Failed to read output from testmodel.py, exit status != 0: 11.419783185934648 11.435363391 11.258230404 Calling exit ...