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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 114.6 kB / 19.59 MB, free: 2.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 187 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.027/1.027, allocations: 149.5 MB / 456.3 MB, free: 1.301 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 73.94 kB / 0.6319 GB, free: 9.605 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2155, allocations: 87.87 MB / 0.7177 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002344/0.2178, allocations: 0.7504 MB / 0.7185 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2194, allocations: 1.076 MB / 0.7195 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.2195, allocations: 0 / 0.7195 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.2195, allocations: 7.938 kB / 0.7195 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.2196, allocations: 11.86 kB / 0.7196 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.2199, allocations: 55.81 kB / 0.7196 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.2201, allocations: 79.78 kB / 0.7197 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2203, allocations: 16.11 kB / 0.7197 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.2204, allocations: 27.92 kB / 0.7197 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.2204, allocations: 39.83 kB / 0.7198 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2205, allocations: 11.94 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.425e-05/0.2205, allocations: 12 kB / 0.7198 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.2205, allocations: 11.98 kB / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.2206, allocations: 31.8 kB / 0.7198 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.2208, allocations: 83.67 kB / 0.7199 GB, free: 15.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2208, allocations: 0 / 0.7199 GB, free: 15.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2208, allocations: 0 / 0.7199 GB, free: 15.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2208, allocations: 4 kB / 0.7199 GB, free: 15.43 MB / 0.545 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.0006043/0.2214, allocations: 308 kB / 0.7202 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.2214, allocations: 8.625 kB / 0.7202 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.2215, allocations: 30.75 kB / 0.7202 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.2215, allocations: 8.891 kB / 0.7202 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2217, allocations: 118.4 kB / 0.7204 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.2217, allocations: 8.375 kB / 0.7204 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.2217, allocations: 8.359 kB / 0.7204 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.2219, allocations: 69.98 kB / 0.7204 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2219, allocations: 0 / 0.7204 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2219, allocations: 4 kB / 0.7204 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2219, allocations: 0 / 0.7204 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.2221, allocations: 47.89 kB / 0.7205 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.2228, allocations: 291.8 kB / 0.7208 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.223, allocations: 46.56 kB / 0.7208 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2231, allocations: 36.95 kB / 0.7209 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.2231, allocations: 96 / 0.7209 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.2234, allocations: 83.31 kB / 0.7209 GB, free: 14.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.2234, allocations: 0 / 0.7209 GB, free: 14.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004196/0.2238, allocations: 129.6 kB / 0.7211 GB, free: 14.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.2238, allocations: 55.41 kB / 0.7211 GB, free: 14.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2239, allocations: 121.8 kB / 0.7212 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.224, allocations: 25.7 kB / 0.7212 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.224, allocations: 104.1 kB / 0.7213 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.2241, allocations: 11.84 kB / 0.7214 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.2241, allocations: 37.64 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2243, allocations: 326.7 kB / 0.7217 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.2244, allocations: 27.98 kB / 0.7217 GB, free: 13.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.2245, allocations: 74.42 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.2248, allocations: 105.9 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2248, allocations: 4 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003117/0.2251, allocations: 137.4 kB / 0.722 GB, free: 13.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2251, allocations: 4.219 kB / 0.722 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2251, allocations: 8 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2251, allocations: 0 / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2252, allocations: 15.98 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.2252, allocations: 4 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.2253, allocations: 11.92 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.2253, allocations: 8 kB / 0.7221 GB, free: 12.96 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.0001041/0.2254, allocations: 125.8 kB / 0.7222 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.2254, allocations: 3.953 kB / 0.7222 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.2255, allocations: 16.38 kB / 0.7222 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2255, allocations: 0 / 0.7222 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2255, allocations: 3.984 kB / 0.7222 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2255, allocations: 0 / 0.7222 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.226, allocations: 349.4 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.226, allocations: 0 / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.226, allocations: 11.98 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.226, allocations: 4 kB / 0.7226 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2261, allocations: 0 / 0.7226 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2261, allocations: 7.875 kB / 0.7226 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2261, allocations: 0 / 0.7226 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.2264, allocations: 211.8 kB / 0.7228 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.2264, allocations: 7.953 kB / 0.7228 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.2264, allocations: 0 / 0.7228 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.2265, allocations: 15.92 kB / 0.7228 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.2265, allocations: 3.984 kB / 0.7228 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.2265, allocations: 8 kB / 0.7228 GB, free: 12.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.2266, allocations: 95.42 kB / 0.7229 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2266, allocations: 0 / 0.7229 GB, free: 12.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002563/0.2268, allocations: 16 kB / 0.7229 GB, free: 12.03 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.0006622/0.2275, allocations: 0.7397 MB / 0.7237 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.2278, allocations: 75.88 kB / 0.7237 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2278, allocations: 448 / 0.7237 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.2279, allocations: 31.98 kB / 0.7238 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.2282, allocations: 26.61 kB / 0.7238 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.2301, allocations: 1.523 MB / 0.7253 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.2304, allocations: 0.6885 MB / 0.7259 GB, free: 8.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.2304, allocations: 4 kB / 0.7259 GB, free: 8.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.2305, allocations: 23.42 kB / 0.726 GB, free: 8.746 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.2305, allocations: 0 / 0.726 GB, free: 8.746 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.2569, allocations: 2.119 MB / 0.728 GB, free: 6.719 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.095, allocations: 6.609 kB / 0.728 GB, free: 6.715 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.961725730012404] Failed to read output from testmodel.py, exit status != 0: 8.167532774998108 8.184766454 7.960731676 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fed8b0157b0>