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.000806/0.000806, allocations: 72.5 kB / 19.92 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.0008141/0.0008141, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8857/0.8857, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.5901/0.5901, allocations: 114 MB / 373.9 MB, free: 8.707 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.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 2.395e-06/2.395e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.846e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001706/0.001724, allocations: 0.7275 MB / 0.5549 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003106, allocations: 1.085 MB / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.003155, allocations: 0 / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.003188, allocations: 3.938 kB / 0.556 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.003268, allocations: 15.88 kB / 0.556 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.003585, allocations: 58.81 kB / 0.5561 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003705, allocations: 79.7 kB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.00382, allocations: 16.17 kB / 0.5561 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.175e-05/0.003911, allocations: 35.97 kB / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.003967, allocations: 31.89 kB / 0.5562 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.003986, allocations: 4 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.004047, allocations: 16 kB / 0.5562 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.004075, allocations: 19.91 kB / 0.5562 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.004112, allocations: 19.98 kB / 0.5563 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.00428, allocations: 83.72 kB / 0.5563 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004282, allocations: 0 / 0.5563 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004283, allocations: 0 / 0.5563 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.004287, allocations: 0 / 0.5563 GB, free: 0.5664 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.0004755/0.004763, allocations: 310 kB / 0.5566 GB, free: 240 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.004806, allocations: 8.031 kB / 0.5566 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.004845, allocations: 38.73 kB / 0.5567 GB, free: 184 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.004878, allocations: 8.891 kB / 0.5567 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.61e-05/0.004974, allocations: 121.6 kB / 0.5568 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.004988, allocations: 4.375 kB / 0.5568 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.005002, allocations: 4.375 kB / 0.5568 GB, free: 20 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.005217, allocations: 74.16 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.005227, allocations: 4.125 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005236, allocations: 384 / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005243, allocations: 11.94 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.005383, allocations: 43.95 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.00595, allocations: 271.9 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.006116, allocations: 62.52 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.006196, allocations: 24.97 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.006217, allocations: 4 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.006389, allocations: 75.38 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.006391, allocations: 0 / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0003846/0.006775, allocations: 137.5 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.006817, allocations: 51.41 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.006908, allocations: 125.8 kB / 0.5577 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.006928, allocations: 33.7 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.006979, allocations: 92.09 kB / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.00701, allocations: 23.83 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.007063, allocations: 29.7 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.00716, allocations: 314.8 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.806e-05/0.007258, allocations: 31.97 kB / 0.5582 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.007371, allocations: 69.98 kB / 0.5582 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.007573, allocations: 117.8 kB / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.007576, allocations: 3.938 kB / 0.5583 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002799/0.007856, allocations: 129.6 kB / 0.5585 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.007872, allocations: 8 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.007878, allocations: 0 / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.007893, allocations: 4 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.008014, allocations: 23.92 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.008021, allocations: 3.984 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.008089, allocations: 8 kB / 0.5585 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.008102, allocations: 4 kB / 0.5585 GB, free: 14.1 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 9.098e-05/0.008193, allocations: 129.8 kB / 0.5586 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.008208, allocations: 7.953 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.008235, allocations: 8.438 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.008238, allocations: 4 kB / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.008243, allocations: 0 / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008246, allocations: 0 / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.008674, allocations: 349.4 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.008676, allocations: 0 / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.00872, allocations: 4 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.008723, allocations: 8 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.008733, allocations: 7.984 kB / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.008735, allocations: 3.938 kB / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008736, allocations: 0 / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.008986, allocations: 207.8 kB / 0.5592 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.008998, allocations: 7.953 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.009012, allocations: 3.984 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.009089, allocations: 4 kB / 0.5592 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.009128, allocations: 3.984 kB / 0.5592 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.009138, allocations: 15.94 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.00919, allocations: 94.98 kB / 0.5593 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.00919, allocations: 0 / 0.5593 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002925/0.009482, allocations: 16 kB / 0.5594 GB, free: 13.17 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.0005364/0.01002, allocations: 0.7436 MB / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.01025, allocations: 79.88 kB / 0.5602 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01025, allocations: 0 / 0.5602 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.01034, allocations: 35.91 kB / 0.5602 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.01064, allocations: 20.81 kB / 0.5602 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.01222, allocations: 1.521 MB / 0.5617 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.981e-05/0.01228, allocations: 75.33 kB / 0.5618 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.01231, allocations: 4 kB / 0.5618 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.01236, allocations: 24.48 kB / 0.5618 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of SimCode: time 7.22e-07/0.01236, allocations: 4 kB / 0.5618 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.02682, allocations: 2.821 MB / 0.5646 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/6.73, allocations: 5 kB / 0.5646 GB, free: 7.883 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.381833985447884] Failed to read output from testmodel.py, exit status != 0: 6.810930451378226 6.819975642 6.813896383 Calling exit ...