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.001776/0.001776, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001545/0.001545, allocations: 213.4 kB / 23.78 MB, free: 4.523 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.9762/0.9762, allocations: 150 MB / 464 MB, free: 10.29 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="cs",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="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.002068/0.002068, allocations: 61.84 kB / 0.642 GB, free: 9.969 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2016, allocations: 89.18 MB / 0.7291 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002156/0.2038, allocations: 0.7127 MB / 0.7298 GB, free: 148 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.2053, allocations: 1.093 MB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.2054, allocations: 0 / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.2054, allocations: 3.938 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.2055, allocations: 7.875 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.2058, allocations: 67.8 kB / 0.7309 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.206, allocations: 67.84 kB / 0.731 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2061, allocations: 12.17 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.2061, allocations: 35.84 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.2062, allocations: 27.91 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.2062, allocations: 8 kB / 0.731 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.2063, allocations: 19.98 kB / 0.7311 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.2063, allocations: 19.92 kB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.2064, allocations: 19.86 kB / 0.7311 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.2065, allocations: 83.91 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2065, allocations: 4 kB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2065, allocations: 0 / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.2065, allocations: 0 / 0.7312 GB, free: 14.66 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.0005981/0.2071, allocations: 314 kB / 0.7315 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2072, allocations: 12.03 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.341e-05/0.2072, allocations: 192 / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.2072, allocations: 30.75 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.2072, allocations: 4.938 kB / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2074, allocations: 118.5 kB / 0.7316 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2074, allocations: 4.375 kB / 0.7317 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.2074, allocations: 12.31 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2076, allocations: 65.8 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2076, allocations: 0 / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2076, allocations: 7.984 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2076, allocations: 4 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.2078, allocations: 35.97 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.2085, allocations: 299.6 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2087, allocations: 46.56 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2088, allocations: 36.89 kB / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2088, allocations: 0 / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.2091, allocations: 87.38 kB / 0.7322 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2091, allocations: 0 / 0.7322 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004808/0.2096, allocations: 133.6 kB / 0.7323 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.2096, allocations: 51.41 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2097, allocations: 117.8 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.2097, allocations: 29.7 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.2098, allocations: 96.08 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.2098, allocations: 19.89 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.2099, allocations: 25.7 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2101, allocations: 326.8 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.2102, allocations: 27.98 kB / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.2103, allocations: 78.8 kB / 0.7331 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.2106, allocations: 105.9 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2106, allocations: 4 kB / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003305/0.2109, allocations: 133.4 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2109, allocations: 8 kB / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2109, allocations: 0 / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2109, allocations: 4 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2111, allocations: 16.2 kB / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.2111, allocations: 4 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/0.2112, allocations: 23.88 kB / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.2112, allocations: 7.938 kB / 0.7334 GB, free: 12.18 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.0001186/0.2113, allocations: 123.7 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.2113, allocations: 4 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.2114, allocations: 16.3 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2114, allocations: 4 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2114, allocations: 0 / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2114, allocations: 0 / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.2119, allocations: 341.5 kB / 0.7338 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2119, allocations: 0 / 0.7338 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.2119, allocations: 7.984 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2119, allocations: 4 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2119, allocations: 3.938 kB / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2119, allocations: 0 / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2119, allocations: 0 / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.2123, allocations: 215.4 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.2123, allocations: 3.953 kB / 0.7341 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2123, allocations: 11.92 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.2124, allocations: 11.92 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.2124, allocations: 3.984 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.2124, allocations: 8 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.067e-05/0.2125, allocations: 93.89 kB / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2125, allocations: 0 / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002626/0.2128, allocations: 19.94 kB / 0.7342 GB, free: 11.26 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.0007303/0.2135, allocations: 0.7359 MB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.2138, allocations: 87.73 kB / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2138, allocations: 0 / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2139, allocations: 27.98 kB / 0.735 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.2142, allocations: 20.42 kB / 0.7351 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.2161, allocations: 1.526 MB / 0.7366 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.074e-05/0.2162, allocations: 75.33 kB / 0.7366 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.2162, allocations: 4 kB / 0.7366 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.2163, allocations: 23.42 kB / 0.7366 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2163, allocations: 0 / 0.7366 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.2398, allocations: 2.316 MB / 0.7389 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.73, allocations: 11.67 kB / 0.7389 GB, free: 6.457 MB / 0.5606 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.683742586988956] Failed to read output from testmodel.py, exit status != 0: 11.899049407918938 11.92836624 11.716571177 Calling exit ...