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.001343/0.001343, allocations: 100.3 kB / 19.7 MB, free: 2.086 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.001508/0.001508, allocations: 209.5 kB / 22.99 MB, free: 4.918 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9763/0.9763, allocations: 149.9 MB / 463 MB, free: 10.37 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.003285/0.003285, allocations: 63.41 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2086, allocations: 89.18 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001976/0.2106, allocations: 0.7126 MB / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2121, allocations: 1.089 MB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.2122, allocations: 0 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.2122, allocations: 11.88 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.2123, allocations: 15.91 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.2126, allocations: 43.84 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.2127, allocations: 79.77 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.2128, allocations: 16.11 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.2129, allocations: 27.92 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.213, allocations: 31.83 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.213, allocations: 8 kB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.351e-05/0.2131, allocations: 23.98 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.2131, allocations: 11.92 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.2131, allocations: 19.94 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2133, allocations: 80.84 kB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.2133, allocations: 7.922 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2133, allocations: 0 / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2133, allocations: 0 / 0.7303 GB, free: 14.82 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.0005444/0.2139, allocations: 302 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2139, allocations: 8.031 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.214, allocations: 38.75 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.214, allocations: 16.83 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2141, allocations: 118.5 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2141, allocations: 384 / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.2141, allocations: 8.375 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.2143, allocations: 73.91 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2143, allocations: 0 / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2144, allocations: 4 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2144, allocations: 0 / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.2145, allocations: 51.89 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.2151, allocations: 279.8 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.2154, allocations: 54.58 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2155, allocations: 28.97 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.2155, allocations: 0 / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.2157, allocations: 79.38 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2157, allocations: 4 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004545/0.2162, allocations: 133.5 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.2162, allocations: 59.41 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.2163, allocations: 118.7 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.2164, allocations: 29.7 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.2164, allocations: 92.09 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2164, allocations: 11.91 kB / 0.7317 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.2165, allocations: 33.7 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2167, allocations: 330.7 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.2168, allocations: 27.97 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.2169, allocations: 76.06 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.2171, allocations: 105.9 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2171, allocations: 0 / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003089/0.2175, allocations: 133.5 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2175, allocations: 8 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2175, allocations: 4.219 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2175, allocations: 4 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2176, allocations: 19.92 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2176, allocations: 4.312 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.2177, allocations: 11.92 kB / 0.7325 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2177, allocations: 8 kB / 0.7325 GB, free: 12.36 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 9.781e-05/0.2178, allocations: 121.8 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.2178, allocations: 3.953 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.2179, allocations: 20.34 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2179, allocations: 4 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2179, allocations: 0 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2179, allocations: 0 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.2184, allocations: 349.4 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2184, allocations: 0 / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.2184, allocations: 11.98 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2184, allocations: 0 / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.2184, allocations: 0 / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2184, allocations: 3.938 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2184, allocations: 4 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.2188, allocations: 203.4 kB / 0.7332 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.2188, allocations: 7.953 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2188, allocations: 0 / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.2189, allocations: 15.92 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.2189, allocations: 11.92 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2189, allocations: 0 / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.219, allocations: 91.27 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.219, allocations: 4 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002583/0.2192, allocations: 23.94 kB / 0.7333 GB, free: 11.43 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.0006837/0.2199, allocations: 0.7397 MB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.2202, allocations: 75.88 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2202, allocations: 4.438 kB / 0.7341 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.2203, allocations: 31.92 kB / 0.7341 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.2206, allocations: 25.56 kB / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.2223, allocations: 1.512 MB / 0.7356 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.413e-05/0.2224, allocations: 80.95 kB / 0.7357 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.2225, allocations: 7.984 kB / 0.7357 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.2225, allocations: 23.44 kB / 0.7358 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2225, allocations: 0 / 0.7358 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.2521, allocations: 2.678 MB / 0.7384 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.32, allocations: 3.312 kB / 0.7384 GB, free: 6.258 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: 15.269558507949114] Failed to read output from testmodel.py, exit status != 0: 11.425432545132935 11.439264486 11.222676171 Calling exit ...