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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 111.3 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 194.7 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.118/1.118, allocations: 147.6 MB / 445.6 MB, free: 8.367 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.2753/0.2753, allocations: 62.67 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.4552, allocations: 83.15 MB / 0.6921 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002977/0.4582, allocations: 0.7377 MB / 0.6928 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.4608, allocations: 1.071 MB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.4609, allocations: 1.25 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/0.461, allocations: 3.938 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.4611, allocations: 17.14 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.4616, allocations: 52.84 kB / 0.694 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.4618, allocations: 68.84 kB / 0.694 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.4619, allocations: 16.67 kB / 0.694 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.462, allocations: 35.23 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.4622, allocations: 31.36 kB / 0.6941 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.4622, allocations: 7.594 kB / 0.6941 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.803e-05/0.4623, allocations: 23.14 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.4624, allocations: 11.34 kB / 0.6941 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.4625, allocations: 27.89 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.4627, allocations: 91.5 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4627, allocations: 1.438 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4627, allocations: 0 / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4628, allocations: 0 / 0.6943 GB, free: 11.7 MB / 0.5137 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.0008331/0.4636, allocations: 379.6 kB / 0.6946 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4637, allocations: 8.5 kB / 0.6946 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.4638, allocations: 37.25 kB / 0.6947 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.4639, allocations: 12.09 kB / 0.6947 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.4641, allocations: 172.3 kB / 0.6948 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4641, allocations: 1.688 kB / 0.6948 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.4642, allocations: 9.344 kB / 0.6948 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.4645, allocations: 73.5 kB / 0.6949 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4645, allocations: 4 kB / 0.6949 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4646, allocations: 0 / 0.6949 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4646, allocations: 1.844 kB / 0.6949 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.4649, allocations: 44.48 kB / 0.695 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.466, allocations: 328.8 kB / 0.6953 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.4663, allocations: 54.98 kB / 0.6953 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.4665, allocations: 31.39 kB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.4665, allocations: 5.375 kB / 0.6954 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/0.4669, allocations: 75.06 kB / 0.6954 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/0.4669, allocations: 7.938 kB / 0.6954 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007238/0.4677, allocations: 124.3 kB / 0.6956 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.4678, allocations: 56.77 kB / 0.6956 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.4679, allocations: 121 kB / 0.6957 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.468, allocations: 27.08 kB / 0.6958 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4681, allocations: 98.77 kB / 0.6959 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.4682, allocations: 18.66 kB / 0.6959 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/0.4683, allocations: 37.89 kB / 0.6959 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.4685, allocations: 321.5 kB / 0.6962 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.4687, allocations: 27.09 kB / 0.6962 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.469, allocations: 78.55 kB / 0.6963 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.4695, allocations: 107 kB / 0.6964 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.4695, allocations: 5.375 kB / 0.6964 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000579/0.4701, allocations: 129.8 kB / 0.6965 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4701, allocations: 5.5 kB / 0.6966 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4702, allocations: 5.312 kB / 0.6966 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.4702, allocations: 10.95 kB / 0.6966 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.4704, allocations: 16.36 kB / 0.6966 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4705, allocations: 2.75 kB / 0.6966 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.4706, allocations: 9.484 kB / 0.6966 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.4707, allocations: 4.125 kB / 0.6966 GB, free: 9.461 MB / 0.5137 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.0001811/0.4709, allocations: 132.9 kB / 0.6967 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4709, allocations: 6.703 kB / 0.6967 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.471, allocations: 5.75 kB / 0.6967 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.471, allocations: 5.375 kB / 0.6967 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.471, allocations: 0 / 0.6967 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.471, allocations: 0 / 0.6967 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.4719, allocations: 385.8 kB / 0.6971 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4719, allocations: 0 / 0.6971 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.472, allocations: 9.484 kB / 0.6971 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4721, allocations: 1.375 kB / 0.6971 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4721, allocations: 4 kB / 0.6971 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.4721, allocations: 5.312 kB / 0.6971 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4721, allocations: 0 / 0.6971 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.4727, allocations: 196.9 kB / 0.6973 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.4728, allocations: 83.81 kB / 0.6974 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.4728, allocations: 3.938 kB / 0.6974 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.473, allocations: 23.98 kB / 0.6974 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.4731, allocations: 6.688 kB / 0.6974 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4731, allocations: 6.734 kB / 0.6974 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001015/0.4732, allocations: 87.53 kB / 0.6975 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4732, allocations: 0 / 0.6975 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005029/0.4738, allocations: 21.39 kB / 0.6975 GB, free: 8.543 MB / 0.5137 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.001164/0.4749, allocations: 0.7376 MB / 0.6983 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.4755, allocations: 83.09 kB / 0.6983 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4755, allocations: 1.375 kB / 0.6983 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.4757, allocations: 32.36 kB / 0.6984 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.4762, allocations: 21.27 kB / 0.6984 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.4795, allocations: 1.512 MB / 0.6999 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.48, allocations: 0.689 MB / 0.7005 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.912e-05/0.4801, allocations: 4.25 kB / 0.7005 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.4802, allocations: 23.61 kB / 0.7006 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.4802, allocations: 0 / 0.7006 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.5109, allocations: 2.115 MB / 0.7026 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.43, allocations: 15.8 kB / 0.7027 GB, free: 3.82 MB / 0.5137 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.10391523502767] Failed to read output from testmodel.py, exit status != 0: 8.500914978096262 8.527349209 8.059912683 Calling exit ...