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.001864/0.001864, allocations: 105 kB / 20.48 MB, free: 1.488 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.002206/0.002206, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.481/1.481, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.022/1.022, allocations: 150 MB / 464 MB, free: 10.49 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="cs",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="cs",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.002066/0.002066, allocations: 67.23 kB / 0.642 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.195, allocations: 89.17 MB / 0.7291 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002447/0.1974, allocations: 0.741 MB / 0.7299 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1991, allocations: 1.112 MB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.1992, allocations: 0 / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.1992, allocations: 11.88 kB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.912e-05/0.1993, allocations: 11.86 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1996, allocations: 47.89 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1998, allocations: 75.77 kB / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1999, allocations: 16.17 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.2, allocations: 35.86 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.2001, allocations: 27.91 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.2001, allocations: 8 kB / 0.7312 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.2002, allocations: 23.97 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.2002, allocations: 15.92 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.2003, allocations: 23.88 kB / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2005, allocations: 83.95 kB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2005, allocations: 0 / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.624e-06/0.2005, allocations: 0 / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2005, allocations: 3.938 kB / 0.7313 GB, free: 15.02 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.0006464/0.2011, allocations: 310 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.2012, allocations: 8.031 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.809e-05/0.2012, allocations: 192 / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.2012, allocations: 42.73 kB / 0.7316 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.2013, allocations: 8.891 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2014, allocations: 110.5 kB / 0.7318 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2014, allocations: 4.375 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2014, allocations: 4.375 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.2017, allocations: 77.72 kB / 0.7318 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2017, allocations: 3.938 kB / 0.7318 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2017, allocations: 4 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2017, allocations: 0 / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.2019, allocations: 43.95 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.2026, allocations: 307.7 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.2029, allocations: 54.53 kB / 0.7322 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.203, allocations: 28.97 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.203, allocations: 0 / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.2033, allocations: 83.36 kB / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2033, allocations: 0 / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004727/0.2038, allocations: 129.6 kB / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.2038, allocations: 59.39 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.204, allocations: 121.8 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.204, allocations: 25.7 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.2041, allocations: 96.09 kB / 0.7328 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.2041, allocations: 19.89 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.2041, allocations: 29.7 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2043, allocations: 318.8 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2044, allocations: 31.91 kB / 0.7331 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.2046, allocations: 78.75 kB / 0.7332 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.2048, allocations: 109.8 kB / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2048, allocations: 0 / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003216/0.2052, allocations: 129.5 kB / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2052, allocations: 8.219 kB / 0.7335 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.2052, allocations: 4 kB / 0.7335 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2052, allocations: 4 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2054, allocations: 23.91 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2054, allocations: 0 / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.551e-05/0.2054, allocations: 11.94 kB / 0.7335 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.2055, allocations: 7.938 kB / 0.7335 GB, free: 12.53 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.0001094/0.2056, allocations: 125.8 kB / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.2056, allocations: 7.953 kB / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.2056, allocations: 12.31 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2056, allocations: 0 / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2056, allocations: 4 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2056, allocations: 0 / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.2062, allocations: 345.5 kB / 0.734 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2062, allocations: 0 / 0.734 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.2062, allocations: 15.92 kB / 0.734 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2062, allocations: 4 kB / 0.734 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2062, allocations: 3.938 kB / 0.734 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2062, allocations: 3.938 kB / 0.734 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2062, allocations: 0 / 0.734 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.2066, allocations: 195.5 kB / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.2066, allocations: 7.938 kB / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.2066, allocations: 7.938 kB / 0.7342 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.2067, allocations: 16 kB / 0.7342 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2068, allocations: 3.984 kB / 0.7342 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2068, allocations: 7.938 kB / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.966e-05/0.2068, allocations: 94.98 kB / 0.7343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2068, allocations: 0 / 0.7343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002929/0.2071, allocations: 19.94 kB / 0.7343 GB, free: 11.6 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.0007849/0.2079, allocations: 0.7475 MB / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.2082, allocations: 75.83 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2082, allocations: 448 / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2083, allocations: 39.91 kB / 0.7352 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.0003025/0.2086, allocations: 12 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.2106, allocations: 1.526 MB / 0.7367 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.211, allocations: 0.6885 MB / 0.7374 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.211, allocations: 4 kB / 0.7374 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.211, allocations: 23.42 kB / 0.7374 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.211, allocations: 0 / 0.7374 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.2352, allocations: 2.25 MB / 0.7396 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.43, allocations: 17.17 kB / 0.7396 GB, free: 6.234 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.37198603298748] Failed to read output from testmodel.py, exit status != 0: 11.602623750979546 11.620320824 11.416599619 Calling exit ...