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.002044/0.002044, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.002635/0.002635, allocations: 207.1 kB / 20.8 MB, free: 2.391 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.575/1.575, allocations: 230.6 MB / 254.2 MB, free: 15.1 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 1.059/1.059, allocations: 150 MB / 460.2 MB, free: 5.266 MB / 350.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.001982/0.001982, allocations: 68.55 kB / 0.6368 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1957, allocations: 89.13 MB / 0.7239 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002553/0.1983, allocations: 0.7393 MB / 0.7246 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2002, allocations: 1.118 MB / 0.7257 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.2003, allocations: 0 / 0.7257 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.2003, allocations: 7.938 kB / 0.7257 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.2005, allocations: 11.88 kB / 0.7257 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.2008, allocations: 55.81 kB / 0.7257 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.201, allocations: 67.78 kB / 0.7258 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2011, allocations: 20.16 kB / 0.7258 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2012, allocations: 27.92 kB / 0.7258 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.2013, allocations: 39.84 kB / 0.7259 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.2013, allocations: 4 kB / 0.7259 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.878e-05/0.2014, allocations: 19.92 kB / 0.7259 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.2015, allocations: 15.98 kB / 0.7259 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.2016, allocations: 35.8 kB / 0.726 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.2018, allocations: 75.97 kB / 0.726 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2018, allocations: 0 / 0.726 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2018, allocations: 4 kB / 0.726 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2018, allocations: 0 / 0.726 GB, free: 1.77 MB / 0.5294 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.0006877/0.2025, allocations: 387.1 kB / 0.7264 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.2025, allocations: 12.03 kB / 0.7264 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.761e-05/0.2025, allocations: 192 / 0.7264 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.2026, allocations: 34.75 kB / 0.7264 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.2026, allocations: 4.938 kB / 0.7265 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.2028, allocations: 176.3 kB / 0.7266 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2028, allocations: 8.375 kB / 0.7266 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.2028, allocations: 8.312 kB / 0.7266 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.203, allocations: 69.78 kB / 0.7267 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2031, allocations: 0 / 0.7267 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2031, allocations: 4 kB / 0.7267 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2031, allocations: 3.984 kB / 0.7267 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.2033, allocations: 43.95 kB / 0.7268 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008652/0.2041, allocations: 328.6 kB / 0.7271 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.2043, allocations: 50.55 kB / 0.7271 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2044, allocations: 36.97 kB / 0.7272 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.2045, allocations: 7.984 kB / 0.7272 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.2047, allocations: 71.42 kB / 0.7272 GB, free: 380 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.2047, allocations: 0 / 0.7272 GB, free: 380 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004741/0.2052, allocations: 129.6 kB / 0.7274 GB, free: 244 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.2052, allocations: 59.41 kB / 0.7274 GB, free: 172 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2054, allocations: 124.3 kB / 0.7275 GB, free: 40 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.2054, allocations: 29.7 kB / 0.7276 GB, free: 4 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2055, allocations: 96.06 kB / 0.7276 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.2055, allocations: 15.91 kB / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.2056, allocations: 29.7 kB / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2057, allocations: 322.8 kB / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2059, allocations: 35.91 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.206, allocations: 69.98 kB / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.2063, allocations: 105.9 kB / 0.7282 GB, free: 15.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2063, allocations: 0 / 0.7282 GB, free: 15.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003556/0.2067, allocations: 137.4 kB / 0.7283 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2067, allocations: 8 kB / 0.7283 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2067, allocations: 0 / 0.7283 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2067, allocations: 4 kB / 0.7283 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2069, allocations: 19.97 kB / 0.7284 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2069, allocations: 4 kB / 0.7284 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.207, allocations: 16.11 kB / 0.7284 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.207, allocations: 11.92 kB / 0.7284 GB, free: 15.08 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.0001118/0.2071, allocations: 121.8 kB / 0.7285 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.2071, allocations: 4 kB / 0.7285 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.2072, allocations: 4.375 kB / 0.7285 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2072, allocations: 4 kB / 0.7285 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2072, allocations: 3.938 kB / 0.7285 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2072, allocations: 0 / 0.7285 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.2077, allocations: 386.7 kB / 0.7289 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2078, allocations: 0 / 0.7289 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.2078, allocations: 7.984 kB / 0.7289 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2078, allocations: 0 / 0.7289 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2078, allocations: 7.875 kB / 0.7289 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2078, allocations: 4 kB / 0.7289 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2078, allocations: 0 / 0.7289 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.2082, allocations: 207.5 kB / 0.7291 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.2082, allocations: 85.06 kB / 0.7292 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.2082, allocations: 3.938 kB / 0.7292 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.2083, allocations: 11.98 kB / 0.7292 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.2084, allocations: 0 / 0.7292 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2084, allocations: 4 kB / 0.7292 GB, free: 14.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.2085, allocations: 98.22 kB / 0.7293 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2085, allocations: 0 / 0.7293 GB, free: 14.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002729/0.2087, allocations: 23.94 kB / 0.7293 GB, free: 14.02 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.0007504/0.2095, allocations: 0.7397 MB / 0.73 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.2098, allocations: 79.83 kB / 0.7301 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2098, allocations: 0 / 0.7301 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.21, allocations: 35.97 kB / 0.7302 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.2102, allocations: 8.734 kB / 0.7302 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.2124, allocations: 1.517 MB / 0.7316 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.2129, allocations: 0.6885 MB / 0.7323 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.469e-05/0.2129, allocations: 8 kB / 0.7323 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.213, allocations: 23.42 kB / 0.7323 GB, free: 10.75 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.213, allocations: 0 / 0.7323 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.2351, allocations: 2.174 MB / 0.7345 GB, free: 8.777 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/8.581, allocations: 10.42 kB / 0.7345 GB, free: 8.77 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.693473638035357] Failed to read output from testmodel.py, exit status != 0: 8.705764060956426 8.721833833 8.517015821 Calling exit ...