Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001261/0.001261, allocations: 110.4 kB / 17.08 MB, free: 5.98 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.001312/0.001312, allocations: 193.2 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.465/1.465, allocations: 222.9 MB / 245.7 MB, free: 4.344 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.12/1.12, allocations: 147.6 MB / 445.6 MB, free: 8.34 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.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 0.6109 GB, free: 12 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4636, allocations: 83.15 MB / 0.6921 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001966/0.4656, allocations: 0.6743 MB / 0.6927 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.4671, allocations: 1.064 MB / 0.6938 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.4671, allocations: 0 / 0.6938 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.4672, allocations: 3.938 kB / 0.6938 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.4673, allocations: 5.719 kB / 0.6938 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.4675, allocations: 48.78 kB / 0.6938 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.822e-05/0.4676, allocations: 67.73 kB / 0.6939 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.4677, allocations: 13.55 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.4678, allocations: 35.27 kB / 0.694 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.4679, allocations: 32.06 kB / 0.694 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.4679, allocations: 10.3 kB / 0.694 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.221e-05/0.4679, allocations: 22.95 kB / 0.694 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.468, allocations: 14.89 kB / 0.694 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.468, allocations: 24.3 kB / 0.6941 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.4681, allocations: 79.56 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4682, allocations: 1.469 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4682, allocations: 0 / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.4682, allocations: 0 / 0.6941 GB, free: 11.87 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005713/0.4687, allocations: 378.8 kB / 0.6945 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4688, allocations: 9.625 kB / 0.6945 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.4688, allocations: 40.11 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.4689, allocations: 9.016 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.469, allocations: 170.9 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.469, allocations: 7 kB / 0.6947 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.469, allocations: 5.688 kB / 0.6947 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.4693, allocations: 87.17 kB / 0.6948 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.4693, allocations: 3.938 kB / 0.6948 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.4693, allocations: 0 / 0.6948 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.4693, allocations: 2.375 kB / 0.6948 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.4695, allocations: 52.23 kB / 0.6949 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.4699, allocations: 321.7 kB / 0.6952 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.4702, allocations: 79.16 kB / 0.6952 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.4703, allocations: 41.69 kB / 0.6953 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.4703, allocations: 1.312 kB / 0.6953 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.4705, allocations: 90.73 kB / 0.6954 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4705, allocations: 5.125 kB / 0.6954 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004608/0.471, allocations: 176.2 kB / 0.6955 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.4711, allocations: 55.28 kB / 0.6956 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4712, allocations: 109.3 kB / 0.6957 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4712, allocations: 31.95 kB / 0.6957 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.4713, allocations: 86.11 kB / 0.6958 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.4713, allocations: 32.41 kB / 0.6958 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.4714, allocations: 35.45 kB / 0.6959 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4715, allocations: 321.7 kB / 0.6962 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.4717, allocations: 45.44 kB / 0.6962 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.4718, allocations: 53.55 kB / 0.6963 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.4721, allocations: 115.2 kB / 0.6964 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4721, allocations: 5.344 kB / 0.6964 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003204/0.4724, allocations: 141 kB / 0.6965 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.4724, allocations: 6.781 kB / 0.6965 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.4724, allocations: 4.062 kB / 0.6965 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.4725, allocations: 1.281 kB / 0.6965 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4726, allocations: 23.52 kB / 0.6966 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.4726, allocations: 1.719 kB / 0.6966 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.4727, allocations: 16.23 kB / 0.6966 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4727, allocations: 3.75 kB / 0.6966 GB, free: 9.613 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001018/0.4728, allocations: 120.2 kB / 0.6967 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.4728, allocations: 6.516 kB / 0.6967 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.4732, allocations: 147.3 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4732, allocations: 1.375 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.4732, allocations: 1.375 kB / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4732, allocations: 0 / 0.6968 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.4738, allocations: 411.3 kB / 0.6972 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4738, allocations: 1.375 kB / 0.6972 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.4739, allocations: 18.8 kB / 0.6973 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4739, allocations: 5.312 kB / 0.6973 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4739, allocations: 0 / 0.6973 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4739, allocations: 1.375 kB / 0.6973 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4739, allocations: 0 / 0.6973 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.4743, allocations: 237.5 kB / 0.6975 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.4743, allocations: 91.8 kB / 0.6976 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.4743, allocations: 1.375 kB / 0.6976 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4745, allocations: 12.11 kB / 0.6976 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.4745, allocations: 8.062 kB / 0.6976 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4745, allocations: 6.734 kB / 0.6976 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.4746, allocations: 83.41 kB / 0.6977 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4746, allocations: 0 / 0.6977 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002444/0.4748, allocations: 24.44 kB / 0.6977 GB, free: 8.602 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000728/0.4756, allocations: 0.7724 MB / 0.6985 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.4759, allocations: 101.6 kB / 0.6986 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4759, allocations: 5.5 kB / 0.6986 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.476, allocations: 47.41 kB / 0.6986 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.4763, allocations: 19.8 kB / 0.6986 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.478, allocations: 1.489 MB / 0.7001 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.4784, allocations: 0.6885 MB / 0.7008 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.4784, allocations: 4.438 kB / 0.7008 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.4785, allocations: 23.42 kB / 0.7008 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.4785, allocations: 7.875 kB / 0.7008 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.5012, allocations: 2.052 MB / 0.7028 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.297, allocations: 7.984 kB / 0.7028 GB, free: 3.727 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_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_FirstOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.930713255191222] Failed to read output from testmodel.py, exit status != 0: 8.364642956992611 8.379444722 7.908500189 Calling exit ...