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.001615/0.001615, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.001901/0.001901, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.548/1.548, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.9883/0.9883, allocations: 150 MB / 460.2 MB, free: 5.293 MB / 350.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.002015/0.002015, allocations: 67.97 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1781, allocations: 89.13 MB / 0.7238 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002087/0.1802, allocations: 0.7402 MB / 0.7246 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1817, allocations: 1.11 MB / 0.7257 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.1818, allocations: 0 / 0.7257 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.1818, allocations: 3.938 kB / 0.7257 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.1819, allocations: 19.84 kB / 0.7257 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1822, allocations: 47.84 kB / 0.7257 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1823, allocations: 79.75 kB / 0.7258 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1825, allocations: 12.19 kB / 0.7258 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.1825, allocations: 27.92 kB / 0.7258 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.272e-05/0.1826, allocations: 35.83 kB / 0.7259 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1826, allocations: 11.94 kB / 0.7259 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.215e-05/0.1827, allocations: 19.98 kB / 0.7259 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.1827, allocations: 15.98 kB / 0.7259 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.1828, allocations: 27.8 kB / 0.7259 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.183, allocations: 83.8 kB / 0.726 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.183, allocations: 0 / 0.726 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.183, allocations: 0 / 0.726 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.183, allocations: 4 kB / 0.726 GB, free: 1.82 MB / 0.5294 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.0006907/0.1837, allocations: 391.1 kB / 0.7264 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1837, allocations: 8.031 kB / 0.7264 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.473e-05/0.1837, allocations: 8.125 kB / 0.7264 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.1838, allocations: 34.75 kB / 0.7265 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.1838, allocations: 4.938 kB / 0.7265 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.184, allocations: 176.3 kB / 0.7266 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.184, allocations: 4.359 kB / 0.7266 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.184, allocations: 12.38 kB / 0.7266 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.1843, allocations: 65.8 kB / 0.7267 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1843, allocations: 0 / 0.7267 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1843, allocations: 4 kB / 0.7267 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1843, allocations: 0 / 0.7267 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.1845, allocations: 47.89 kB / 0.7268 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.1852, allocations: 332.6 kB / 0.7271 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1854, allocations: 50.64 kB / 0.7271 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1855, allocations: 28.91 kB / 0.7271 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1855, allocations: 0 / 0.7271 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.1857, allocations: 79.38 kB / 0.7272 GB, free: 432 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1857, allocations: 0 / 0.7272 GB, free: 432 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004673/0.1862, allocations: 133.6 kB / 0.7273 GB, free: 292 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1863, allocations: 51.41 kB / 0.7274 GB, free: 228 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1864, allocations: 129.7 kB / 0.7275 GB, free: 88 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1864, allocations: 33.7 kB / 0.7276 GB, free: 48 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.1865, allocations: 92.09 kB / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.1865, allocations: 15.91 kB / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.1866, allocations: 29.7 kB / 0.7277 GB, free: 15.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1867, allocations: 318.8 kB / 0.728 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1869, allocations: 31.97 kB / 0.728 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.187, allocations: 73.98 kB / 0.7281 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.1873, allocations: 113.8 kB / 0.7282 GB, free: 15.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1873, allocations: 0 / 0.7282 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003326/0.1876, allocations: 125.7 kB / 0.7283 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1876, allocations: 8 kB / 0.7283 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1876, allocations: 4 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1876, allocations: 4 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1878, allocations: 23.98 kB / 0.7284 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1878, allocations: 3.938 kB / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.511e-05/0.1879, allocations: 19.88 kB / 0.7284 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1879, allocations: 11.88 kB / 0.7284 GB, free: 15.12 MB / 0.545 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.0001141/0.188, allocations: 113.8 kB / 0.7285 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.188, allocations: 11.98 kB / 0.7285 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.1881, allocations: 8.375 kB / 0.7285 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1881, allocations: 0 / 0.7285 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1881, allocations: 4 kB / 0.7285 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1881, allocations: 0 / 0.7285 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.1886, allocations: 374.7 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1886, allocations: 0 / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.1887, allocations: 16 kB / 0.7289 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.1887, allocations: 7.922 kB / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1887, allocations: 3.938 kB / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1887, allocations: 0 / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1887, allocations: 0 / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.189, allocations: 203.5 kB / 0.7291 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.1891, allocations: 85.05 kB / 0.7292 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1891, allocations: 7.938 kB / 0.7292 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.1892, allocations: 4 kB / 0.7292 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.1892, allocations: 11.98 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1893, allocations: 4 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.154e-05/0.1893, allocations: 91.27 kB / 0.7293 GB, free: 14.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1893, allocations: 0 / 0.7293 GB, free: 14.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002564/0.1896, allocations: 15.94 kB / 0.7293 GB, free: 14.07 MB / 0.545 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.000713/0.1903, allocations: 0.7436 MB / 0.73 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.1906, allocations: 80.12 kB / 0.7301 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1906, allocations: 4.125 kB / 0.7301 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1907, allocations: 31.97 kB / 0.7301 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.191, allocations: 12.95 kB / 0.7302 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.193, allocations: 1.521 MB / 0.7316 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1934, allocations: 0.6885 MB / 0.7323 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.1934, allocations: 7.984 kB / 0.7323 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.1935, allocations: 19.44 kB / 0.7323 GB, free: 10.8 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.1935, allocations: 0 / 0.7323 GB, free: 10.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.2125, allocations: 2.179 MB / 0.7345 GB, free: 8.809 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.503, allocations: 6.125 kB / 0.7345 GB, free: 8.805 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.569052363978699] Failed to read output from testmodel.py, exit status != 0: 8.629595012986101 8.646555684 8.459761978 Calling exit ...