Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001362/0.001362, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002492/0.002492, allocations: 219 kB / 22.99 MB, free: 4.977 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.663/1.663, 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.033/1.033, allocations: 149.9 MB / 463 MB, free: 10.34 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.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.002128/0.002128, allocations: 66.36 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1916, allocations: 89.18 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002295/0.1939, allocations: 0.7145 MB / 0.7289 GB, free: 320 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1955, allocations: 1.092 MB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.1956, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.1956, allocations: 7.922 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.1957, allocations: 11.88 kB / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.196, allocations: 55.83 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1961, allocations: 67.83 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1962, allocations: 16.12 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.1963, allocations: 31.91 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.1964, allocations: 35.84 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1964, allocations: 4 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.1965, allocations: 15.98 kB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.1965, allocations: 15.98 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.1965, allocations: 27.86 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1967, allocations: 83.89 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1967, allocations: 0 / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1967, allocations: 0 / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.1967, allocations: 0 / 0.7303 GB, free: 14.84 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.0005147/0.1972, allocations: 310 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1973, allocations: 8.031 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.1973, allocations: 34.73 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1973, allocations: 12.83 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1975, allocations: 115.6 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1975, allocations: 4.375 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1975, allocations: 4.375 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.1977, allocations: 73.91 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1977, allocations: 0 / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1977, allocations: 11.94 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1977, allocations: 0 / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.1979, allocations: 43.95 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.1985, allocations: 287.7 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1987, allocations: 46.55 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.637e-05/0.1988, allocations: 32.97 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1988, allocations: 0 / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.199, allocations: 83.36 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.199, allocations: 0 / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004027/0.1994, allocations: 133.6 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1995, allocations: 51.41 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1996, allocations: 124.7 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1996, allocations: 33.7 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.1997, allocations: 92.09 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.1997, allocations: 19.89 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.1997, allocations: 21.72 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1999, allocations: 326.8 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.2, allocations: 31.97 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2001, allocations: 69.98 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.2004, allocations: 113.8 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2004, allocations: 0 / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003244/0.2007, allocations: 129.5 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2007, allocations: 5.875 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2007, allocations: 4 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2007, allocations: 0 / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2009, allocations: 27.92 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2009, allocations: 8.234 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.201, allocations: 11.94 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.201, allocations: 4.219 kB / 0.7325 GB, free: 12.38 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.000104/0.2011, allocations: 129.7 kB / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.2011, allocations: 11.89 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.2011, allocations: 8.375 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2011, allocations: 0 / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2011, allocations: 4 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2011, allocations: 0 / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.2016, allocations: 341.5 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2016, allocations: 3.984 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.2017, allocations: 15.92 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2017, allocations: 0 / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2017, allocations: 8 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2017, allocations: 3.938 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2017, allocations: 3.984 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.202, allocations: 199.5 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.202, allocations: 3.953 kB / 0.7332 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.202, allocations: 7.984 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.2021, allocations: 11.94 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.2022, allocations: 7.984 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.2022, allocations: 4 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.89e-05/0.2022, allocations: 91.27 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2022, allocations: 0 / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000254/0.2025, allocations: 19.88 kB / 0.7333 GB, free: 11.44 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.0006596/0.2032, allocations: 0.732 MB / 0.734 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.2034, allocations: 79.88 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2034, allocations: 4 kB / 0.7341 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2036, allocations: 43.89 kB / 0.7341 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.2038, allocations: 11.94 kB / 0.7342 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.2057, allocations: 1.521 MB / 0.7356 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.512e-05/0.2058, allocations: 71.33 kB / 0.7357 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.2059, allocations: 7.984 kB / 0.7357 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.2059, allocations: 23.44 kB / 0.7357 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2059, allocations: 0 / 0.7357 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.2375, allocations: 2.672 MB / 0.7384 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.37, allocations: 3.719 kB / 0.7384 GB, free: 6.258 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.531447479035705] Failed to read output from testmodel.py, exit status != 0: 11.47699661180377 11.498141695 11.297873865 Calling exit ...