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.002001/0.002001, allocations: 119 kB / 19.69 MB, free: 2.199 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.002256/0.002256, allocations: 222.1 kB / 23.01 MB, free: 5.043 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.011/1.011, allocations: 150 MB / 463.2 MB, free: 10.46 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.001994/0.001994, allocations: 70.42 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.208, allocations: 89.17 MB / 0.7284 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002108/0.2101, allocations: 0.7294 MB / 0.7291 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2116, allocations: 1.116 MB / 0.7302 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.2117, allocations: 4 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.2117, allocations: 7.875 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-05/0.2118, allocations: 11.86 kB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.2121, allocations: 59.45 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.2123, allocations: 67.84 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2124, allocations: 20.09 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.2125, allocations: 31.86 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.2125, allocations: 31.91 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.2126, allocations: 8 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.808e-05/0.2126, allocations: 19.98 kB / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.2127, allocations: 19.91 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.2127, allocations: 23.88 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.2129, allocations: 83.95 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2129, allocations: 0 / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2129, allocations: 0 / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.2129, allocations: 3.938 kB / 0.7305 GB, free: 15 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.000575/0.2135, allocations: 306 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2135, allocations: 8.031 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.2135, allocations: 46.67 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.2136, allocations: 12.89 kB / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2137, allocations: 110.5 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2137, allocations: 4.375 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2138, allocations: 4.375 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.214, allocations: 73.95 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.214, allocations: 0 / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.214, allocations: 4 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.214, allocations: 7.938 kB / 0.7311 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.2142, allocations: 43.95 kB / 0.7311 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.2148, allocations: 295.7 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.215, allocations: 58.58 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/0.2151, allocations: 24.97 kB / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.2151, allocations: 4 kB / 0.7315 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.2153, allocations: 75.38 kB / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2153, allocations: 0 / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004122/0.2157, allocations: 133.5 kB / 0.7317 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.2158, allocations: 51.41 kB / 0.7318 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2159, allocations: 129 kB / 0.7319 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.2159, allocations: 25.7 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.216, allocations: 96.03 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.216, allocations: 23.88 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.2161, allocations: 29.7 kB / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2162, allocations: 322.8 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.2163, allocations: 31.91 kB / 0.7324 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.2165, allocations: 69.98 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.2167, allocations: 113.8 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2167, allocations: 4 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000303/0.217, allocations: 129.5 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.217, allocations: 4 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.217, allocations: 4 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2171, allocations: 0 / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2172, allocations: 24.12 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2172, allocations: 8 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.2173, allocations: 7.938 kB / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.2173, allocations: 8 kB / 0.7327 GB, free: 12.52 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.0001279/0.2174, allocations: 131.7 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.2174, allocations: 7.953 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.2175, allocations: 4.375 kB / 0.7329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2175, allocations: 0 / 0.7329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2175, allocations: 0 / 0.7329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2175, allocations: 8 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.218, allocations: 349.4 kB / 0.7332 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.218, allocations: 0 / 0.7332 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.2181, allocations: 11.98 kB / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2181, allocations: 0 / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2181, allocations: 0 / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.2181, allocations: 7.938 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2181, allocations: 3.938 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.2184, allocations: 203.5 kB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.2184, allocations: 3.953 kB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.2184, allocations: 4 kB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.2185, allocations: 11.94 kB / 0.7334 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.2185, allocations: 3.984 kB / 0.7335 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2185, allocations: 8 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.2186, allocations: 95.2 kB / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2186, allocations: 0 / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002534/0.2188, allocations: 19.94 kB / 0.7336 GB, free: 11.59 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.0007047/0.2195, allocations: 0.7363 MB / 0.7343 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.2198, allocations: 79.88 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2198, allocations: 3.938 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2199, allocations: 39.98 kB / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2202, allocations: 22.7 kB / 0.7344 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.2221, allocations: 1.519 MB / 0.7359 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.2225, allocations: 0.6962 MB / 0.7366 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.2225, allocations: 4 kB / 0.7366 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.2226, allocations: 27.41 kB / 0.7366 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.2226, allocations: 0 / 0.7366 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.2509, allocations: 2.218 MB / 0.7388 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.12, allocations: 6.109 kB / 0.7388 GB, free: 6.238 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.158413818000554] Failed to read output from testmodel.py, exit status != 0: 11.236079263002466 11.259918559 11.042406213 Calling exit ...