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.001503/0.001503, allocations: 109 kB / 20.48 MB, free: 1.473 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.001428/0.001428, allocations: 209.8 kB / 23.79 MB, free: 4.684 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.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 0.9785/0.9785, allocations: 150 MB / 464 MB, free: 10.54 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.002099/0.002099, allocations: 66.14 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2092, allocations: 89.18 MB / 0.7291 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002329/0.2115, allocations: 0.7363 MB / 0.7298 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.213, allocations: 1.116 MB / 0.7309 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.2131, allocations: 0 / 0.7309 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.85e-05/0.2131, allocations: 7.875 kB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.2132, allocations: 11.92 kB / 0.731 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2135, allocations: 55.81 kB / 0.731 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.2136, allocations: 63.84 kB / 0.7311 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2138, allocations: 24.11 kB / 0.7311 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.2138, allocations: 35.8 kB / 0.7311 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.2139, allocations: 31.89 kB / 0.7312 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.2139, allocations: 8 kB / 0.7312 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.214, allocations: 19.98 kB / 0.7312 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.214, allocations: 11.94 kB / 0.7312 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.2141, allocations: 35.84 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.2142, allocations: 83.02 kB / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2142, allocations: 7.938 kB / 0.7313 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2142, allocations: 0 / 0.7313 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2142, allocations: 0 / 0.7313 GB, free: 15.1 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.000571/0.2148, allocations: 302 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2148, allocations: 12.03 kB / 0.7316 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.613e-05/0.2149, allocations: 192 / 0.7316 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.2149, allocations: 38.75 kB / 0.7317 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.2149, allocations: 12.83 kB / 0.7317 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.215, allocations: 114.5 kB / 0.7318 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2151, allocations: 384 / 0.7318 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2151, allocations: 8.375 kB / 0.7318 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.2153, allocations: 73.78 kB / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2153, allocations: 4 kB / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2153, allocations: 0 / 0.7319 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2153, allocations: 4 kB / 0.7319 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.2155, allocations: 47.89 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.2162, allocations: 291.8 kB / 0.7322 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.2163, allocations: 58.58 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.693e-05/0.2164, allocations: 24.97 kB / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2164, allocations: 0 / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.2167, allocations: 75.38 kB / 0.7323 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2167, allocations: 0 / 0.7323 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004499/0.2171, allocations: 141.5 kB / 0.7325 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.2172, allocations: 51.41 kB / 0.7325 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2173, allocations: 121.8 kB / 0.7326 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2173, allocations: 29.7 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.2174, allocations: 92.09 kB / 0.7328 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.2174, allocations: 19.89 kB / 0.7328 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.2175, allocations: 33.59 kB / 0.7328 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2177, allocations: 322.8 kB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.2178, allocations: 31.97 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.2179, allocations: 69.98 kB / 0.7332 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.2182, allocations: 117.8 kB / 0.7333 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2182, allocations: 0 / 0.7333 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004198/0.2186, allocations: 125.5 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2186, allocations: 4 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2186, allocations: 7.984 kB / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2186, allocations: 224 / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2188, allocations: 27.92 kB / 0.7335 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2188, allocations: 3.984 kB / 0.7335 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.2189, allocations: 15.94 kB / 0.7335 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.2189, allocations: 7.938 kB / 0.7335 GB, free: 12.62 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.0001095/0.219, allocations: 121.8 kB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.219, allocations: 7.953 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.219, allocations: 8.375 kB / 0.7336 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.219, allocations: 0 / 0.7336 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.219, allocations: 8 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.219, allocations: 0 / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.2196, allocations: 345.4 kB / 0.734 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2196, allocations: 0 / 0.734 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.2197, allocations: 8 kB / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2197, allocations: 0 / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2197, allocations: 11.92 kB / 0.734 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2197, allocations: 4 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2197, allocations: 0 / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.22, allocations: 203.4 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.22, allocations: 7.938 kB / 0.7342 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.22, allocations: 11.94 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.2201, allocations: 7.938 kB / 0.7342 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2202, allocations: 11.98 kB / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2202, allocations: 4 kB / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.2202, allocations: 93.78 kB / 0.7343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2202, allocations: 0 / 0.7343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002554/0.2205, allocations: 15.94 kB / 0.7343 GB, free: 11.69 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.0007265/0.2212, allocations: 0.7436 MB / 0.7351 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.2215, allocations: 76.36 kB / 0.7351 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2215, allocations: 0 / 0.7351 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2216, allocations: 36.34 kB / 0.7352 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2219, allocations: 20.69 kB / 0.7352 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.2239, allocations: 1.528 MB / 0.7367 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.2242, allocations: 0.6923 MB / 0.7374 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.2243, allocations: 7.984 kB / 0.7374 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.2243, allocations: 19.44 kB / 0.7374 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2243, allocations: 0 / 0.7374 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.2529, allocations: 2.239 MB / 0.7396 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.46, allocations: 14.59 kB / 0.7396 GB, free: 6.328 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.325694738945458] Failed to read output from testmodel.py, exit status != 0: 11.626351202023216 11.650973098 11.432159615 Calling exit ...