Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001353/0.001353, allocations: 110.8 kB / 17.08 MB, free: 5.984 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.001403/0.001403, 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.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.114/1.114, allocations: 147.6 MB / 445.6 MB, free: 8.293 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.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2676/0.2676, allocations: 64.62 kB / 0.6109 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.402, allocations: 83.15 MB / 0.6921 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001868/0.4039, allocations: 0.7453 MB / 0.6928 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.4055, allocations: 1.15 MB / 0.6939 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.4055, allocations: 5.094 kB / 0.6939 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.4056, allocations: 3.938 kB / 0.6939 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.4057, allocations: 14.33 kB / 0.694 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.4062, allocations: 137.8 kB / 0.6941 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.4064, allocations: 134.9 kB / 0.6942 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.4065, allocations: 18.06 kB / 0.6942 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.4066, allocations: 48.27 kB / 0.6943 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.4067, allocations: 52.78 kB / 0.6943 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.4067, allocations: 15.03 kB / 0.6943 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.4068, allocations: 24.8 kB / 0.6944 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.4068, allocations: 11.23 kB / 0.6944 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.4069, allocations: 53.61 kB / 0.6944 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.4071, allocations: 122.1 kB / 0.6945 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4071, allocations: 0 / 0.6945 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4071, allocations: 0 / 0.6945 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4071, allocations: 0 / 0.6945 GB, free: 11.7 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005799/0.4077, allocations: 424.6 kB / 0.6949 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.4078, allocations: 9.625 kB / 0.695 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.4078, allocations: 32.12 kB / 0.695 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.4078, allocations: 10.39 kB / 0.695 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.408, allocations: 172.4 kB / 0.6952 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.408, allocations: 12.48 kB / 0.6952 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.408, allocations: 7.25 kB / 0.6952 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4082, allocations: 79.91 kB / 0.6953 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4082, allocations: 0 / 0.6953 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4083, allocations: 5.359 kB / 0.6953 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4083, allocations: 5.375 kB / 0.6953 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.4084, allocations: 44.7 kB / 0.6953 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.4089, allocations: 348.3 kB / 0.6956 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.4091, allocations: 68.61 kB / 0.6957 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.4092, allocations: 28.09 kB / 0.6957 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.4093, allocations: 0 / 0.6957 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.4095, allocations: 88.14 kB / 0.6958 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.4095, allocations: 0 / 0.6958 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004747/0.41, allocations: 153.8 kB / 0.696 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.41, allocations: 56.83 kB / 0.696 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4101, allocations: 123.7 kB / 0.6961 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.4102, allocations: 32.98 kB / 0.6962 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.4103, allocations: 99.77 kB / 0.6963 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.4103, allocations: 14.22 kB / 0.6963 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.4104, allocations: 41.53 kB / 0.6963 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4105, allocations: 324.6 kB / 0.6966 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.4107, allocations: 51.89 kB / 0.6967 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.4109, allocations: 92.14 kB / 0.6968 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.4112, allocations: 147.9 kB / 0.6969 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4112, allocations: 0 / 0.6969 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004665/0.4117, allocations: 214.9 kB / 0.6971 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.4117, allocations: 40.81 kB / 0.6972 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4118, allocations: 5.812 kB / 0.6972 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4118, allocations: 3.094 kB / 0.6972 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4119, allocations: 18.52 kB / 0.6972 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4119, allocations: 6.031 kB / 0.6972 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.4121, allocations: 34.86 kB / 0.6972 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.4122, allocations: 15.14 kB / 0.6972 GB, free: 9.223 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001137/0.4123, allocations: 128.1 kB / 0.6974 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.4123, allocations: 6.859 kB / 0.6974 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.4126, allocations: 124.1 kB / 0.6975 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4126, allocations: 1.281 kB / 0.6975 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4126, allocations: 1.094 kB / 0.6975 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4127, allocations: 4 kB / 0.6975 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.4131, allocations: 375.1 kB / 0.6978 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4131, allocations: 0 / 0.6978 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.4132, allocations: 9.672 kB / 0.6979 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.4132, allocations: 1.312 kB / 0.6979 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4132, allocations: 5.438 kB / 0.6979 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4132, allocations: 3.938 kB / 0.6979 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4133, allocations: 11.92 kB / 0.6979 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.4136, allocations: 213.5 kB / 0.6981 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.4136, allocations: 78.48 kB / 0.6982 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4137, allocations: 1.375 kB / 0.6982 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4138, allocations: 12.05 kB / 0.6982 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.4138, allocations: 10.69 kB / 0.6982 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4138, allocations: 10.73 kB / 0.6982 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.4139, allocations: 87.53 kB / 0.6983 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4139, allocations: 0 / 0.6983 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002714/0.4142, allocations: 33.94 kB / 0.6983 GB, free: 8.242 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006485/0.4148, allocations: 0.7483 MB / 0.699 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.4152, allocations: 180.7 kB / 0.6992 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4152, allocations: 0 / 0.6992 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.4154, allocations: 43.16 kB / 0.6992 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.4157, allocations: 27.33 kB / 0.6993 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.4178, allocations: 1.694 MB / 0.7009 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.4182, allocations: 0.6885 MB / 0.7016 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.4182, allocations: 8 kB / 0.7016 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.4183, allocations: 27.36 kB / 0.7016 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.4183, allocations: 3.938 kB / 0.7016 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.4409, allocations: 2.549 MB / 0.7041 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.57, allocations: 8.656 kB / 0.7041 GB, free: 2.363 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.224524560151622] Failed to read output from testmodel.py, exit status != 0: 8.639906250871718 8.657164954 8.246643599 Calling exit ...