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.001305/0.001305, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002083/0.002083, allocations: 211.7 kB / 22.99 MB, free: 4.605 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 0.9417/0.9417, allocations: 149.9 MB / 463.1 MB, free: 10.32 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.002101/0.002101, allocations: 68.23 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1924, allocations: 89.17 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002003/0.1944, allocations: 0.7173 MB / 0.7289 GB, free: 292 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1959, allocations: 1.093 MB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.1959, allocations: 0 / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.196, allocations: 3.938 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.164e-05/0.1961, allocations: 15.86 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.1964, allocations: 55.83 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1965, allocations: 71.77 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1966, allocations: 16.17 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.312e-05/0.1967, allocations: 27.92 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.1967, allocations: 35.83 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1968, allocations: 4 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.1968, allocations: 15.98 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.1968, allocations: 12 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.1969, allocations: 27.86 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.197, allocations: 79.91 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.197, allocations: 4 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.197, allocations: 0 / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.1971, allocations: 0 / 0.7303 GB, free: 14.81 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.0005663/0.1976, allocations: 310 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1977, allocations: 8.031 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.1977, allocations: 34.75 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.1977, allocations: 4.891 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1979, allocations: 132.2 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1979, allocations: 384 / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1979, allocations: 4.375 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.1981, allocations: 77.86 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1981, allocations: 0 / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1981, allocations: 11.98 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1981, allocations: 4 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1983, allocations: 43.95 kB / 0.7309 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.1989, allocations: 287.7 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1991, allocations: 50.56 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.1992, allocations: 28.95 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1992, allocations: 0 / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.1994, allocations: 79.41 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1994, allocations: 0 / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004441/0.1998, allocations: 137.6 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1999, allocations: 51.41 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2, allocations: 117.8 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.2, allocations: 33.7 kB / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.2001, allocations: 92.08 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.2001, allocations: 15.91 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.2001, allocations: 25.7 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2003, allocations: 326.8 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.2004, allocations: 27.98 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.2005, allocations: 78.58 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.2008, allocations: 105.9 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2008, allocations: 3.938 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003142/0.2011, allocations: 137.4 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2011, allocations: 8 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2011, allocations: 0 / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2011, allocations: 4 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.2012, allocations: 19.98 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.2012, allocations: 224 / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.2013, allocations: 19.92 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2014, allocations: 4 kB / 0.7325 GB, free: 12.34 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 9.575e-05/0.2014, allocations: 123.8 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.2015, allocations: 7.953 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.2015, allocations: 8.375 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2015, allocations: 7.984 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2015, allocations: 0 / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2015, allocations: 0 / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.202, allocations: 349.4 kB / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.202, allocations: 0 / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.202, allocations: 7.984 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.202, allocations: 4 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2021, allocations: 0 / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2021, allocations: 3.938 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2021, allocations: 400 / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.2024, allocations: 207.4 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.2024, allocations: 11.95 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2024, allocations: 4 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.2025, allocations: 15.86 kB / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.2025, allocations: 4 kB / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2025, allocations: 7.984 kB / 0.7332 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.069e-05/0.2026, allocations: 88.92 kB / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2026, allocations: 0 / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002585/0.2028, allocations: 23.92 kB / 0.7333 GB, free: 11.41 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.0006829/0.2035, allocations: 0.7359 MB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.2038, allocations: 83.75 kB / 0.7341 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2038, allocations: 4 kB / 0.7341 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.2039, allocations: 31.98 kB / 0.7341 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.2042, allocations: 20.92 kB / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.2061, allocations: 1.517 MB / 0.7356 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.517e-05/0.2062, allocations: 79.33 kB / 0.7357 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.2062, allocations: 4 kB / 0.7357 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.2062, allocations: 23.42 kB / 0.7357 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2062, allocations: 0 / 0.7357 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.2363, allocations: 2.676 MB / 0.7384 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.31, allocations: 10.33 kB / 0.7384 GB, free: 6.242 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 & /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 sys.exit(0), Time elapsed: 15.229618065059185] Failed to read output from testmodel.py, exit status != 0: 11.418602333869785 11.440683688 11.240436536 Calling exit ...