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.001182/0.001182, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001274/0.001274, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9207/0.9207, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5858/0.5858, allocations: 114 MB / 373.9 MB, free: 8.73 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.04e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001625/0.001645, allocations: 0.7259 MB / 0.5549 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.003218, allocations: 1.089 MB / 0.556 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.003257, allocations: 0 / 0.556 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.00328, allocations: 7.922 kB / 0.556 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.036e-05/0.003331, allocations: 15.86 kB / 0.556 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.003544, allocations: 55.7 kB / 0.5561 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.897e-05/0.003633, allocations: 71.77 kB / 0.5561 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.003711, allocations: 12.19 kB / 0.5561 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.003777, allocations: 43.89 kB / 0.5562 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.00382, allocations: 31.91 kB / 0.5562 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.003833, allocations: 4 kB / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.355e-05/0.003876, allocations: 19.97 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.003895, allocations: 15.98 kB / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.003925, allocations: 19.92 kB / 0.5563 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.004041, allocations: 83.73 kB / 0.5563 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004043, allocations: 3.984 kB / 0.5563 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004044, allocations: 0 / 0.5563 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.004047, allocations: 0 / 0.5563 GB, free: 0.5898 MB / 0.5105 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.0003411/0.004388, allocations: 302.1 kB / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.004419, allocations: 8.625 kB / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.397e-05/0.004443, allocations: 38.69 kB / 0.5567 GB, free: 216 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.004466, allocations: 8.891 kB / 0.5567 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.078e-05/0.004537, allocations: 129.4 kB / 0.5568 GB, free: 56 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-06/0.004543, allocations: 384 / 0.5568 GB, free: 56 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.004557, allocations: 12.38 kB / 0.5568 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.004707, allocations: 66.22 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-06/0.004712, allocations: 192 / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.004718, allocations: 384 / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.004723, allocations: 11.94 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.004843, allocations: 43.91 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.005335, allocations: 279.9 kB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.005475, allocations: 58.58 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.005547, allocations: 32.91 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.005566, allocations: 4 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.005716, allocations: 79.36 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.005717, allocations: 0 / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0003252/0.006042, allocations: 125.6 kB / 0.5575 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.006081, allocations: 59.34 kB / 0.5576 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.006165, allocations: 129.7 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.006181, allocations: 25.7 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.006227, allocations: 96.09 kB / 0.5578 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.00625, allocations: 23.83 kB / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.006296, allocations: 29.7 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.00639, allocations: 322.8 kB / 0.5582 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.006472, allocations: 27.97 kB / 0.5582 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.006576, allocations: 69.98 kB / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.006753, allocations: 113.8 kB / 0.5584 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006755, allocations: 0 / 0.5584 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002388/0.006994, allocations: 137.6 kB / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.007008, allocations: 8 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007013, allocations: 0 / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.007027, allocations: 4 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.007118, allocations: 15.98 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.007125, allocations: 3.938 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.007185, allocations: 11.98 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.007198, allocations: 8 kB / 0.5585 GB, free: 14.12 MB / 0.5261 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 7.508e-05/0.007273, allocations: 127.8 kB / 0.5587 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.007286, allocations: 11.95 kB / 0.5587 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.007311, allocations: 12.42 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.007313, allocations: 4 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.007318, allocations: 0 / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.007321, allocations: 0 / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.007686, allocations: 337.5 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.007688, allocations: 3.938 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.007723, allocations: 7.984 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.007725, allocations: 4 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.007732, allocations: 4 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007734, allocations: 0 / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007735, allocations: 0 / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.007942, allocations: 211.7 kB / 0.5592 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.007952, allocations: 7.953 kB / 0.5592 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.007965, allocations: 4 kB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.008033, allocations: 7.984 kB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.008069, allocations: 7.984 kB / 0.5593 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.008079, allocations: 11.94 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.008127, allocations: 91.27 kB / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008127, allocations: 0 / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000293/0.00842, allocations: 20 kB / 0.5594 GB, free: 13.19 MB / 0.5261 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.0004856/0.008906, allocations: 0.7358 MB / 0.5601 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.009125, allocations: 79.92 kB / 0.5602 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.009126, allocations: 0 / 0.5602 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.009206, allocations: 31.98 kB / 0.5602 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.009493, allocations: 20.42 kB / 0.5602 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.01099, allocations: 1.524 MB / 0.5617 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.947e-05/0.01104, allocations: 71.34 kB / 0.5618 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.01108, allocations: 7.984 kB / 0.5618 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.01113, allocations: 20.5 kB / 0.5618 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.01113, allocations: 0 / 0.5618 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.02828, allocations: 2.84 MB / 0.5646 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/6.693, allocations: 8.984 kB / 0.5646 GB, free: 7.902 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.381626829504967] Failed to read output from testmodel.py, exit status != 0: 6.773286917246878 6.782077104 6.776109805 Calling exit ...