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.001282/0.001282, allocations: 119 kB / 19.69 MB, free: 2.199 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.001488/0.001488, allocations: 224.4 kB / 23.01 MB, free: 5.051 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9416/0.9416, allocations: 150 MB / 463.2 MB, free: 10.46 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.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: 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.002041/0.002041, allocations: 70.48 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.188, allocations: 89.16 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002238/0.1902, allocations: 0.7442 MB / 0.7291 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1918, allocations: 1.112 MB / 0.7302 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.1919, allocations: 0 / 0.7302 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.1919, allocations: 7.938 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.091e-05/0.192, allocations: 7.875 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1923, allocations: 59.81 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1924, allocations: 71.84 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1926, allocations: 16.16 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.1926, allocations: 31.86 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.1927, allocations: 23.92 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1927, allocations: 8 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.77e-05/0.1928, allocations: 23.97 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.1928, allocations: 15.92 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.1929, allocations: 27.86 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1931, allocations: 83.91 kB / 0.7305 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1931, allocations: 7.938 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1931, allocations: 3.938 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1931, allocations: 0 / 0.7305 GB, free: 15 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.0005691/0.1937, allocations: 306 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1937, allocations: 8.031 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.1937, allocations: 42.75 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1938, allocations: 4.891 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1939, allocations: 114.5 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1939, allocations: 4.375 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1939, allocations: 12.36 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1941, allocations: 69.92 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1941, allocations: 0 / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1942, allocations: 0 / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1942, allocations: 4 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1943, allocations: 43.95 kB / 0.7311 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.195, allocations: 307.7 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1952, allocations: 46.56 kB / 0.7315 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.1953, allocations: 28.95 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1953, allocations: 0 / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.1955, allocations: 83.41 kB / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 3.176e-06/0.1955, allocations: 3.984 kB / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004348/0.196, allocations: 129.6 kB / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.196, allocations: 55.39 kB / 0.7318 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.1961, allocations: 121.8 kB / 0.7319 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1961, allocations: 29.7 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.1962, allocations: 96.08 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.1962, allocations: 11.91 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.1963, allocations: 33.7 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1965, allocations: 322.7 kB / 0.7323 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.1966, allocations: 27.98 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1967, allocations: 80.66 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.197, allocations: 109.9 kB / 0.7326 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.197, allocations: 0 / 0.7326 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003072/0.1973, allocations: 133.6 kB / 0.7327 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1973, allocations: 9.656 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.1973, allocations: 4 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1973, allocations: 0 / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1974, allocations: 23.92 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.1974, allocations: 4 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.1975, allocations: 11.92 kB / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1975, allocations: 4 kB / 0.7327 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.0001107/0.1977, allocations: 137.7 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.1977, allocations: 3.953 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.1977, allocations: 8.375 kB / 0.7329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.1977, allocations: 3.984 kB / 0.7329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1977, allocations: 0 / 0.7329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1977, allocations: 0 / 0.7329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1982, allocations: 349.5 kB / 0.7332 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1982, allocations: 0 / 0.7332 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-05/0.1983, allocations: 11.98 kB / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1983, allocations: 4 kB / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1983, allocations: 4 kB / 0.7332 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.1983, allocations: 3.938 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1983, allocations: 0 / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.1986, allocations: 199.8 kB / 0.7334 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.1986, allocations: 7.953 kB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1986, allocations: 0 / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.1987, allocations: 15.92 kB / 0.7335 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1988, allocations: 15.86 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.1988, allocations: 0 / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.429e-05/0.1988, allocations: 95.27 kB / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1988, allocations: 0 / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002546/0.1991, allocations: 19.94 kB / 0.7336 GB, free: 11.59 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.0007054/0.1998, allocations: 0.7359 MB / 0.7343 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.2001, allocations: 84.12 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2001, allocations: 4.125 kB / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.2002, allocations: 31.98 kB / 0.7344 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.0002626/0.2004, allocations: 11.92 kB / 0.7344 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.2023, allocations: 1.526 MB / 0.7359 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.2027, allocations: 0.6885 MB / 0.7366 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.2027, allocations: 4 kB / 0.7366 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.2028, allocations: 27.36 kB / 0.7366 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.2028, allocations: 0 / 0.7366 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.2309, allocations: 2.224 MB / 0.7388 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.1, allocations: 10.89 kB / 0.7388 GB, free: 6.238 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 14.753719663945958] Failed to read output from testmodel.py, exit status != 0: 11.208617594093084 11.23540089 11.038574213 Calling exit ...