Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001873/0.001873, allocations: 114 kB / 17.12 MB, free: 6.008 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.002236/0.002236, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.628/1.628, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.041/1.041, allocations: 150 MB / 459.5 MB, free: 5.715 MB / 350.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.SampleTriggerPositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.00256/0.00256, allocations: 71.42 kB / 0.6361 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2061, allocations: 89.13 MB / 0.7232 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002017/0.2081, allocations: 0.7357 MB / 0.7239 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2096, allocations: 1.114 MB / 0.725 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.2096, allocations: 4 kB / 0.725 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.2097, allocations: 3.938 kB / 0.725 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.2097, allocations: 11.81 kB / 0.725 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.21, allocations: 55.81 kB / 0.7251 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2102, allocations: 71.78 kB / 0.7251 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2103, allocations: 16.17 kB / 0.7251 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.415e-05/0.2103, allocations: 35.84 kB / 0.7252 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.2104, allocations: 31.84 kB / 0.7252 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2104, allocations: 12 kB / 0.7252 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.2105, allocations: 12 kB / 0.7252 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.2105, allocations: 11.98 kB / 0.7252 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.2105, allocations: 39.78 kB / 0.7253 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.2107, allocations: 75.97 kB / 0.7253 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2107, allocations: 0 / 0.7253 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2107, allocations: 0 / 0.7253 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2107, allocations: 0 / 0.7253 GB, free: 1.809 MB / 0.5294 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.0005868/0.2113, allocations: 397 kB / 0.7257 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2113, allocations: 12.03 kB / 0.7257 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.2114, allocations: 30.75 kB / 0.7258 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.2114, allocations: 4.938 kB / 0.7258 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2115, allocations: 176.3 kB / 0.7259 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2116, allocations: 8.375 kB / 0.7259 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.2116, allocations: 4.375 kB / 0.726 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.2118, allocations: 69.97 kB / 0.726 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2118, allocations: 0 / 0.726 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2118, allocations: 4 kB / 0.726 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2118, allocations: 4 kB / 0.726 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.212, allocations: 43.89 kB / 0.7261 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006599/0.2126, allocations: 320.7 kB / 0.7264 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.2128, allocations: 58.58 kB / 0.7264 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2129, allocations: 28.97 kB / 0.7265 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.2129, allocations: 7.984 kB / 0.7265 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.2132, allocations: 75.38 kB / 0.7265 GB, free: 424 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2132, allocations: 0 / 0.7265 GB, free: 424 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004282/0.2136, allocations: 125.8 kB / 0.7267 GB, free: 292 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.2136, allocations: 63.34 kB / 0.7267 GB, free: 216 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2138, allocations: 121.8 kB / 0.7268 GB, free: 84 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.2138, allocations: 29.7 kB / 0.7269 GB, free: 48 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.2138, allocations: 92.03 kB / 0.727 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.2139, allocations: 23.88 kB / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.2139, allocations: 29.7 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2141, allocations: 326.8 kB / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.2142, allocations: 27.97 kB / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2143, allocations: 70.06 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.2146, allocations: 109.8 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2146, allocations: 4 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003598/0.215, allocations: 133.5 kB / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.215, allocations: 5.25 kB / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.215, allocations: 7.984 kB / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.215, allocations: 4 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2151, allocations: 20.19 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2151, allocations: 11.94 kB / 0.7277 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.722e-05/0.2152, allocations: 11.89 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.2152, allocations: 4 kB / 0.7277 GB, free: 15.12 MB / 0.545 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.0001029/0.2153, allocations: 133.8 kB / 0.7278 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.2153, allocations: 0 / 0.7278 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.2154, allocations: 12.38 kB / 0.7278 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2154, allocations: 0 / 0.7278 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2154, allocations: 0 / 0.7278 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2154, allocations: 4 kB / 0.7278 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.2159, allocations: 374.4 kB / 0.7282 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2159, allocations: 0 / 0.7282 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.216, allocations: 7.984 kB / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.216, allocations: 0 / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.216, allocations: 4 kB / 0.7282 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.216, allocations: 7.875 kB / 0.7282 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.216, allocations: 0 / 0.7282 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.2163, allocations: 207.4 kB / 0.7284 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.2164, allocations: 85.06 kB / 0.7285 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2164, allocations: 0 / 0.7285 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.2165, allocations: 15.92 kB / 0.7285 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.2165, allocations: 4 kB / 0.7285 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.2165, allocations: 0 / 0.7285 GB, free: 14.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.704e-05/0.2166, allocations: 99.09 kB / 0.7286 GB, free: 14.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2166, allocations: 0 / 0.7286 GB, free: 14.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002591/0.2168, allocations: 23.94 kB / 0.7286 GB, free: 14.05 MB / 0.545 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.0007379/0.2176, allocations: 0.7397 MB / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.2179, allocations: 71.88 kB / 0.7294 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2179, allocations: 7.938 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.218, allocations: 31.97 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.2183, allocations: 12.31 kB / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.2203, allocations: 1.517 MB / 0.731 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.2206, allocations: 0.6924 MB / 0.7316 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.2206, allocations: 4 kB / 0.7316 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.2207, allocations: 23.42 kB / 0.7317 GB, free: 10.79 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.2207, allocations: 0 / 0.7317 GB, free: 10.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.2464, allocations: 2.128 MB / 0.7337 GB, free: 8.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.332, allocations: 6.344 kB / 0.7337 GB, free: 8.836 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv --start-time 1 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.574276084080338] Failed to read output from testmodel.py, exit status != 0: 8.404253983171657 8.430639399 8.215401009 Calling exit ...