Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001292/0.001298, allocations: 103.6 kB / 17.07 MB, free: 6.016 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.001402/0.001402, allocations: 190.8 kB / 20.02 MB, free: 3.082 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.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.166/1.166, allocations: 147.6 MB / 445.6 MB, free: 8.258 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.SampleTriggerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 71.88 kB / 0.6109 GB, free: 32 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4685, allocations: 83.14 MB / 0.6921 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002537/0.4711, allocations: 0.7379 MB / 0.6928 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.4731, allocations: 1.059 MB / 0.6939 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.4732, allocations: 5.219 kB / 0.6939 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.4733, allocations: 11.92 kB / 0.6939 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.134e-05/0.4734, allocations: 12.67 kB / 0.6939 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.4738, allocations: 49.95 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.4739, allocations: 71.8 kB / 0.694 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.4741, allocations: 16 kB / 0.694 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.4742, allocations: 30.98 kB / 0.6941 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.12e-05/0.4743, allocations: 33.14 kB / 0.6941 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.4743, allocations: 6 kB / 0.6941 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.4744, allocations: 24.7 kB / 0.6941 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.4745, allocations: 14.48 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.4745, allocations: 31.55 kB / 0.6942 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.4748, allocations: 80.61 kB / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4748, allocations: 1.094 kB / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4748, allocations: 3.938 kB / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4748, allocations: 0 / 0.6942 GB, free: 11.82 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.0007505/0.4755, allocations: 382.2 kB / 0.6946 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.4756, allocations: 9 kB / 0.6946 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.4757, allocations: 36.03 kB / 0.6947 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.4757, allocations: 9.109 kB / 0.6947 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.4759, allocations: 179.2 kB / 0.6948 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.476, allocations: 7.5 kB / 0.6948 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.476, allocations: 3.531 kB / 0.6948 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.4762, allocations: 70.45 kB / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4763, allocations: 0 / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.4763, allocations: 4 kB / 0.6949 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.4763, allocations: 9.844 kB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.4765, allocations: 44.56 kB / 0.695 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.4774, allocations: 319.8 kB / 0.6953 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.4776, allocations: 56.48 kB / 0.6953 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.4777, allocations: 30.62 kB / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.4778, allocations: 1.156 kB / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003018/0.4781, allocations: 79.53 kB / 0.6954 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.4781, allocations: 0 / 0.6954 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.000493/0.4786, allocations: 140.1 kB / 0.6956 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.4787, allocations: 53.16 kB / 0.6956 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.4788, allocations: 120.2 kB / 0.6957 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.4788, allocations: 31.52 kB / 0.6958 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.4789, allocations: 95.62 kB / 0.6959 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.479, allocations: 17.67 kB / 0.6959 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.479, allocations: 31.22 kB / 0.6959 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4792, allocations: 324.1 kB / 0.6962 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.4794, allocations: 35.97 kB / 0.6962 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.4795, allocations: 74.98 kB / 0.6963 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.4798, allocations: 111 kB / 0.6964 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4798, allocations: 0 / 0.6964 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003652/0.4802, allocations: 129.8 kB / 0.6965 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4802, allocations: 5.5 kB / 0.6965 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4802, allocations: 2.75 kB / 0.6966 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.4803, allocations: 1.375 kB / 0.6966 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4804, allocations: 20.3 kB / 0.6966 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4804, allocations: 6.953 kB / 0.6966 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.4805, allocations: 13.5 kB / 0.6966 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4805, allocations: 5.5 kB / 0.6966 GB, free: 9.57 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.0001293/0.4807, allocations: 127.5 kB / 0.6967 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.4807, allocations: 12.02 kB / 0.6967 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.4807, allocations: 9.75 kB / 0.6967 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4807, allocations: 0 / 0.6967 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.4808, allocations: 1.375 kB / 0.6967 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4808, allocations: 0 / 0.6967 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.4813, allocations: 377.9 kB / 0.6971 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4813, allocations: 0 / 0.6971 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.4814, allocations: 13.42 kB / 0.6971 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4814, allocations: 0 / 0.6971 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4814, allocations: 5.375 kB / 0.6971 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4814, allocations: 3.938 kB / 0.6971 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4815, allocations: 5.375 kB / 0.6971 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.4818, allocations: 204.9 kB / 0.6973 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.4819, allocations: 82.44 kB / 0.6974 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.4819, allocations: 1.375 kB / 0.6974 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.482, allocations: 15.98 kB / 0.6974 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.482, allocations: 6.75 kB / 0.6974 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.4821, allocations: 1.375 kB / 0.6974 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.137e-05/0.4821, allocations: 96.89 kB / 0.6975 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4821, allocations: 3.938 kB / 0.6975 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002725/0.4824, allocations: 13.75 kB / 0.6975 GB, free: 8.656 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.0008519/0.4833, allocations: 0.7429 MB / 0.6983 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.4836, allocations: 79.89 kB / 0.6983 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4836, allocations: 0 / 0.6983 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.4838, allocations: 41.16 kB / 0.6984 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.4841, allocations: 9.812 kB / 0.6984 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.4862, allocations: 1.518 MB / 0.6999 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.4866, allocations: 0.6844 MB / 0.7005 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.366e-05/0.4866, allocations: 13.02 kB / 0.7005 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.4867, allocations: 18.94 kB / 0.7006 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.4867, allocations: 1.094 kB / 0.7006 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.5123, allocations: 2.117 MB / 0.7026 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.531, allocations: 3.859 kB / 0.7026 GB, free: 3.973 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.174136572051793] Failed to read output from testmodel.py, exit status != 0: 8.601007261080667 8.614401853 8.136967109 Calling exit ...