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.001231/0.001231, allocations: 111.8 kB / 17.08 MB, free: 5.988 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.0013/0.0013, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.534/1.534, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.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.125/1.125, allocations: 147.6 MB / 445.6 MB, free: 8.492 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.002077/0.002078, allocations: 56.3 kB / 0.6109 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1722, allocations: 83.16 MB / 0.6921 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002115/0.1743, allocations: 0.7258 MB / 0.6928 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1758, allocations: 1.069 MB / 0.6939 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.1758, allocations: 1.062 kB / 0.6939 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.1759, allocations: 3.938 kB / 0.6939 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.1759, allocations: 8.938 kB / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1762, allocations: 62.19 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1764, allocations: 67.31 kB / 0.694 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1765, allocations: 28.38 kB / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.1766, allocations: 31.17 kB / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.1767, allocations: 33.06 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1767, allocations: 5.844 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.934e-05/0.1768, allocations: 23.92 kB / 0.6941 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.1768, allocations: 15.06 kB / 0.6941 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.1768, allocations: 35 kB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.177, allocations: 78.38 kB / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.177, allocations: 0 / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.893e-06/0.177, allocations: 1.719 kB / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.177, allocations: 0 / 0.6943 GB, free: 11.73 MB / 0.5137 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.0006028/0.1776, allocations: 376.5 kB / 0.6946 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1777, allocations: 10.75 kB / 0.6946 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.1777, allocations: 34.73 kB / 0.6947 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1778, allocations: 8.453 kB / 0.6947 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.1779, allocations: 181.6 kB / 0.6948 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.178, allocations: 6.188 kB / 0.6948 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.178, allocations: 3.969 kB / 0.6948 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.1782, allocations: 69.22 kB / 0.6949 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1782, allocations: 0 / 0.6949 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1782, allocations: 5.188 kB / 0.6949 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1782, allocations: 1.344 kB / 0.6949 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.1784, allocations: 48.17 kB / 0.695 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.1791, allocations: 323.9 kB / 0.6953 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1792, allocations: 57.27 kB / 0.6953 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1794, allocations: 34.64 kB / 0.6954 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1794, allocations: 5.375 kB / 0.6954 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1796, allocations: 74.62 kB / 0.6954 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.1796, allocations: 0 / 0.6954 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004335/0.18, allocations: 131.3 kB / 0.6956 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1801, allocations: 58.16 kB / 0.6956 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1802, allocations: 128.8 kB / 0.6957 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1803, allocations: 29.7 kB / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.1803, allocations: 94.83 kB / 0.6959 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1804, allocations: 18.64 kB / 0.6959 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.1804, allocations: 31.33 kB / 0.6959 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1806, allocations: 328.1 kB / 0.6962 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.1807, allocations: 32.48 kB / 0.6963 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1808, allocations: 70.61 kB / 0.6963 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1811, allocations: 111 kB / 0.6964 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1811, allocations: 1.375 kB / 0.6964 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003158/0.1814, allocations: 128.5 kB / 0.6965 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1814, allocations: 10.86 kB / 0.6966 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1814, allocations: 1.375 kB / 0.6966 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1815, allocations: 2.75 kB / 0.6966 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1816, allocations: 16.36 kB / 0.6966 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1816, allocations: 5.312 kB / 0.6966 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.1817, allocations: 21.42 kB / 0.6966 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1817, allocations: 9.719 kB / 0.6966 GB, free: 9.48 MB / 0.5137 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.0001107/0.1818, allocations: 121 kB / 0.6967 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.1819, allocations: 6.703 kB / 0.6967 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.1819, allocations: 9.75 kB / 0.6967 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1819, allocations: 1.375 kB / 0.6967 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1819, allocations: 0 / 0.6967 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1819, allocations: 3.984 kB / 0.6967 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.1824, allocations: 381.1 kB / 0.6971 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1825, allocations: 0 / 0.6971 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.391e-05/0.1825, allocations: 13.8 kB / 0.6971 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1825, allocations: 1.188 kB / 0.6971 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1825, allocations: 4 kB / 0.6971 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1826, allocations: 5.188 kB / 0.6971 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1826, allocations: 0 / 0.6971 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.1829, allocations: 201.1 kB / 0.6973 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.1829, allocations: 83.09 kB / 0.6974 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.183, allocations: 0.7812 kB / 0.6974 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.183, allocations: 11.61 kB / 0.6974 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1831, allocations: 11.42 kB / 0.6974 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.1831, allocations: 1.406 kB / 0.6974 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.991e-05/0.1832, allocations: 93.48 kB / 0.6975 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1832, allocations: 0 / 0.6975 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002651/0.1835, allocations: 20.44 kB / 0.6975 GB, free: 8.578 MB / 0.5137 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.0006848/0.1842, allocations: 0.7395 MB / 0.6983 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.1845, allocations: 80.16 kB / 0.6983 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1845, allocations: 1.25 kB / 0.6983 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.1846, allocations: 32.17 kB / 0.6984 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1849, allocations: 17.14 kB / 0.6984 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1868, allocations: 1.511 MB / 0.6999 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1872, allocations: 0.6893 MB / 0.7005 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.492e-05/0.1872, allocations: 4.312 kB / 0.7005 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.1873, allocations: 27.61 kB / 0.7006 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1873, allocations: 0 / 0.7006 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.2133, allocations: 2.119 MB / 0.7026 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.169, allocations: 3.859 kB / 0.7026 GB, free: 3.816 MB / 0.5137 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 sys.exit(0), Time elapsed: 12.068047013133764] Failed to read output from testmodel.py, exit status != 0: 8.55041521601379 8.260095724 8.079531443 Calling exit ...