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.001798/0.001798, allocations: 117.2 kB / 17.13 MB, free: 5.941 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.002362/0.002362, allocations: 212.3 kB / 20.09 MB, free: 2.992 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.598/1.598, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.051/1.051, allocations: 150 MB / 459.5 MB, free: 5.324 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.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.00263/0.00263, allocations: 62.75 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2117, allocations: 89.14 MB / 0.7232 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002409/0.2141, allocations: 0.7379 MB / 0.7239 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2159, allocations: 1.11 MB / 0.725 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.216, allocations: 0 / 0.725 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.216, allocations: 7.922 kB / 0.725 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.2161, allocations: 11.88 kB / 0.725 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.2165, allocations: 55.83 kB / 0.7251 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.2167, allocations: 67.83 kB / 0.7251 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2168, allocations: 24.12 kB / 0.7251 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.2169, allocations: 27.91 kB / 0.7252 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.217, allocations: 35.84 kB / 0.7252 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.217, allocations: 4 kB / 0.7252 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.2171, allocations: 19.98 kB / 0.7252 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.2171, allocations: 11.98 kB / 0.7252 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.2172, allocations: 39.78 kB / 0.7253 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.2174, allocations: 75.91 kB / 0.7253 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2174, allocations: 4 kB / 0.7254 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2174, allocations: 4 kB / 0.7254 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.2174, allocations: 0 / 0.7254 GB, free: 1.836 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.0006323/0.218, allocations: 387.1 kB / 0.7257 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2181, allocations: 15.97 kB / 0.7257 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.2181, allocations: 30.75 kB / 0.7258 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.2182, allocations: 4.938 kB / 0.7258 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2183, allocations: 172.3 kB / 0.7259 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2184, allocations: 8.375 kB / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2184, allocations: 8.375 kB / 0.726 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.2186, allocations: 69.92 kB / 0.726 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2186, allocations: 0 / 0.726 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2186, allocations: 8 kB / 0.726 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2186, allocations: 3.984 kB / 0.726 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.2188, allocations: 35.97 kB / 0.7261 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.2196, allocations: 332.6 kB / 0.7264 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.2198, allocations: 50.55 kB / 0.7264 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2199, allocations: 28.97 kB / 0.7265 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2199, allocations: 0 / 0.7265 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.2201, allocations: 87.39 kB / 0.7265 GB, free: 452 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2201, allocations: 0 / 0.7265 GB, free: 452 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004503/0.2206, allocations: 125.6 kB / 0.7267 GB, free: 320 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.2206, allocations: 55.41 kB / 0.7267 GB, free: 252 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.2208, allocations: 125.1 kB / 0.7268 GB, free: 120 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.2208, allocations: 33.64 kB / 0.7269 GB, free: 80 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.2209, allocations: 92.09 kB / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.2209, allocations: 23.88 kB / 0.727 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.221, allocations: 25.72 kB / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.2212, allocations: 322.8 kB / 0.7273 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.2213, allocations: 31.97 kB / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.2215, allocations: 77.92 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.2217, allocations: 105.9 kB / 0.7275 GB, free: 15.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2217, allocations: 0 / 0.7275 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003458/0.2221, allocations: 133.6 kB / 0.7276 GB, free: 15.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2221, allocations: 12 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2221, allocations: 0 / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2221, allocations: 4 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2223, allocations: 15.98 kB / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.2223, allocations: 3.984 kB / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.2224, allocations: 15.89 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2224, allocations: 7.938 kB / 0.7277 GB, free: 15.16 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.0001278/0.2225, allocations: 129.7 kB / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.2225, allocations: 8 kB / 0.7278 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.2225, allocations: 8.375 kB / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2225, allocations: 0 / 0.7278 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2226, allocations: 4 kB / 0.7278 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2226, allocations: 0 / 0.7278 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.2232, allocations: 370.4 kB / 0.7282 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2232, allocations: 3.984 kB / 0.7282 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.2233, allocations: 15.98 kB / 0.7282 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2233, allocations: 0 / 0.7282 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2233, allocations: 0 / 0.7282 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2233, allocations: 3.938 kB / 0.7282 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2233, allocations: 3.938 kB / 0.7282 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.2236, allocations: 207.4 kB / 0.7284 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.2237, allocations: 81.06 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.2237, allocations: 11.94 kB / 0.7285 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.2238, allocations: 11.92 kB / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2238, allocations: 4 kB / 0.7285 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2239, allocations: 4 kB / 0.7285 GB, free: 14.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.9e-05/0.2239, allocations: 91.27 kB / 0.7286 GB, free: 14.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2239, allocations: 0 / 0.7286 GB, free: 14.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002652/0.2242, allocations: 19.94 kB / 0.7286 GB, free: 14.09 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.0008533/0.225, allocations: 0.7363 MB / 0.7294 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.2253, allocations: 84.12 kB / 0.7294 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2253, allocations: 4.125 kB / 0.7294 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2255, allocations: 36.03 kB / 0.7295 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.2257, allocations: 11.94 kB / 0.7295 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.2278, allocations: 1.515 MB / 0.731 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.2283, allocations: 0.6846 MB / 0.7316 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.2283, allocations: 7.984 kB / 0.7316 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.2284, allocations: 22.81 kB / 0.7317 GB, free: 10.82 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2284, allocations: 4 kB / 0.7317 GB, free: 10.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2582, allocations: 2.131 MB / 0.7337 GB, free: 8.852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.327, allocations: 11.98 kB / 0.7338 GB, free: 8.84 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.609453472075984] Failed to read output from testmodel.py, exit status != 0: 8.400071724085137 8.427481216 8.204952171 Calling exit ...