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.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.0007722/0.0007722, allocations: 76.5 kB / 19.92 MB, free: 4.629 MB / 18.57 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.000758/0.000758, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8837/0.8837, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5501/0.5501, allocations: 114 MB / 373.9 MB, free: 8.684 MB / 346.7 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.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 2.655e-06/2.655e-06, allocations: 0 / 0.5542 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.646e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001196/0.001213, allocations: 0.6696 MB / 0.5548 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002283, allocations: 1.096 MB / 0.5559 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.002331, allocations: 0 / 0.5559 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.002357, allocations: 3.938 kB / 0.5559 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.002419, allocations: 11.86 kB / 0.5559 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.002688, allocations: 47.77 kB / 0.5559 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.002783, allocations: 83.75 kB / 0.556 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.002873, allocations: 4 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.97e-05/0.002952, allocations: 43.91 kB / 0.5561 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.002997, allocations: 23.95 kB / 0.5561 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.003014, allocations: 8 kB / 0.5561 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.00307, allocations: 19.98 kB / 0.5561 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.003093, allocations: 19.91 kB / 0.5561 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.003129, allocations: 23.97 kB / 0.5562 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.003264, allocations: 83.73 kB / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003265, allocations: 0 / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003266, allocations: 0 / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.00327, allocations: 4 kB / 0.5562 GB, free: 0.6758 MB / 0.5105 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.0004458/0.003716, allocations: 302.1 kB / 0.5565 GB, free: 356 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.003755, allocations: 12.62 kB / 0.5565 GB, free: 344 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.003787, allocations: 34.75 kB / 0.5566 GB, free: 300 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.003852, allocations: 8.891 kB / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.402e-05/0.003926, allocations: 121.7 kB / 0.5567 GB, free: 144 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.003947, allocations: 8.375 kB / 0.5567 GB, free: 136 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.003958, allocations: 8.312 kB / 0.5567 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.00411, allocations: 82.2 kB / 0.5568 GB, free: 40 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.004117, allocations: 192 / 0.5568 GB, free: 40 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.004127, allocations: 4.375 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.004134, allocations: 8.125 kB / 0.5568 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.004252, allocations: 48.03 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.004613, allocations: 267.8 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.004735, allocations: 78.53 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.004797, allocations: 40.78 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.004818, allocations: 3.938 kB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.004953, allocations: 95.48 kB / 0.5573 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.004954, allocations: 4 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0003092/0.005264, allocations: 169.5 kB / 0.5575 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.005297, allocations: 59.41 kB / 0.5575 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.005357, allocations: 105.8 kB / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.005371, allocations: 33.7 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.00541, allocations: 92.31 kB / 0.5578 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.005431, allocations: 23.86 kB / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.005468, allocations: 33.7 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.005546, allocations: 318.9 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.005609, allocations: 43.86 kB / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.005681, allocations: 62.53 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.005809, allocations: 102.5 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005811, allocations: 0 / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001718/0.005983, allocations: 141.5 kB / 0.5585 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.005995, allocations: 8 kB / 0.5585 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005999, allocations: 4.062 kB / 0.5585 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.00601, allocations: 0 / 0.5585 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.006091, allocations: 23.98 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.006098, allocations: 7.938 kB / 0.5585 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.00613, allocations: 7.984 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.00614, allocations: 11.94 kB / 0.5585 GB, free: 14.13 MB / 0.5261 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 6.053e-05/0.0062, allocations: 117.8 kB / 0.5586 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.006209, allocations: 11.89 kB / 0.5586 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.006404, allocations: 154.3 kB / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006406, allocations: 0 / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.006411, allocations: 0 / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006413, allocations: 0 / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.00672, allocations: 385.4 kB / 0.5592 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006722, allocations: 256 / 0.5592 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.006756, allocations: 15.98 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.006759, allocations: 4 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.006767, allocations: 4 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.006768, allocations: 0 / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006769, allocations: 0 / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.00695, allocations: 235.4 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.006958, allocations: 11.94 kB / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.006974, allocations: 0 / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.007026, allocations: 15.98 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.007058, allocations: 3.984 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.007065, allocations: 7.938 kB / 0.5594 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.007095, allocations: 87.28 kB / 0.5595 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007095, allocations: 0 / 0.5595 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001569/0.007252, allocations: 16 kB / 0.5595 GB, free: 13 MB / 0.5261 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.0003941/0.007646, allocations: 0.7842 MB / 0.5603 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.00782, allocations: 99.52 kB / 0.5604 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007821, allocations: 4.125 kB / 0.5604 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.007889, allocations: 51.91 kB / 0.5605 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.00807, allocations: 4 kB / 0.5605 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.009152, allocations: 1.513 MB / 0.5619 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.695e-05/0.009199, allocations: 71.34 kB / 0.562 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.009232, allocations: 8.484 kB / 0.562 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.009271, allocations: 20.5 kB / 0.562 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/0.009271, allocations: 0 / 0.562 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.02495, allocations: 2.78 MB / 0.5647 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/6.602, allocations: 6.75 kB / 0.5648 GB, free: 7.695 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.20134263113141] Failed to read output from testmodel.py, exit status != 0: 6.685011966153979 6.700288694 6.694076104 Calling exit ...