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.001296/0.001296, allocations: 97.11 kB / 19.73 MB, free: 1.871 MB / 14.72 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.001517/0.001517, allocations: 204.5 kB / 23.04 MB, free: 5.012 MB / 14.72 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 1.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] 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.9239/0.9239, allocations: 150 MB / 463.2 MB, free: 10.14 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 66.27 kB / 0.6413 GB, free: 9.77 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.184, allocations: 89.18 MB / 0.7284 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002148/0.1862, allocations: 0.6574 MB / 0.729 GB, free: 16 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1878, allocations: 1.093 MB / 0.7301 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.1879, allocations: 7.938 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.1879, allocations: 3.938 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.188, allocations: 7.922 kB / 0.7301 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1883, allocations: 51.83 kB / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1884, allocations: 67.88 kB / 0.7302 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.1885, allocations: 8 kB / 0.7302 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.216e-05/0.1886, allocations: 35.86 kB / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.1887, allocations: 27.84 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1887, allocations: 7.984 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-05/0.1888, allocations: 23.98 kB / 0.7303 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.1888, allocations: 15.98 kB / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.1889, allocations: 23.86 kB / 0.7303 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.189, allocations: 76.03 kB / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.189, allocations: 0 / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.873e-06/0.189, allocations: 4 kB / 0.7304 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.189, allocations: 0 / 0.7304 GB, free: 14.55 MB / 0.5606 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.0006612/0.1897, allocations: 314.1 kB / 0.7307 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1898, allocations: 8.031 kB / 0.7307 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.1898, allocations: 38.69 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.838e-05/0.1899, allocations: 12.86 kB / 0.7308 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.19, allocations: 118.4 kB / 0.7309 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.19, allocations: 4.375 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1901, allocations: 8.375 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.1903, allocations: 78.2 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1903, allocations: 7.938 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1903, allocations: 4 kB / 0.731 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1903, allocations: 0 / 0.731 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1905, allocations: 51.95 kB / 0.731 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.1911, allocations: 275.7 kB / 0.7313 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1913, allocations: 70.53 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1914, allocations: 48.83 kB / 0.7314 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1914, allocations: 0 / 0.7314 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.1917, allocations: 87.5 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1917, allocations: 0 / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004998/0.1922, allocations: 169.5 kB / 0.7316 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.1922, allocations: 59.39 kB / 0.7317 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.1923, allocations: 117.8 kB / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1924, allocations: 29.8 kB / 0.7318 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.1924, allocations: 92.31 kB / 0.7319 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1924, allocations: 27.78 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.1925, allocations: 33.7 kB / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1927, allocations: 322.8 kB / 0.7323 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1928, allocations: 35.97 kB / 0.7323 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1929, allocations: 62.55 kB / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.1932, allocations: 104.4 kB / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1932, allocations: 0 / 0.7325 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003312/0.1935, allocations: 141.5 kB / 0.7326 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1935, allocations: 8 kB / 0.7326 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1935, allocations: 3.938 kB / 0.7326 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1935, allocations: 3.938 kB / 0.7326 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1937, allocations: 27.98 kB / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1937, allocations: 0 / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.1938, allocations: 19.94 kB / 0.7327 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1938, allocations: 4 kB / 0.7327 GB, free: 12 MB / 0.5606 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.0001127/0.1939, allocations: 121.8 kB / 0.7328 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.1939, allocations: 4 kB / 0.7328 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.1943, allocations: 145.9 kB / 0.7329 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1943, allocations: 8 kB / 0.733 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1943, allocations: 0 / 0.733 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1943, allocations: 3.984 kB / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.1948, allocations: 373.5 kB / 0.7333 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1948, allocations: 0 / 0.7333 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.1949, allocations: 15.97 kB / 0.7333 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1949, allocations: 0 / 0.7333 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1949, allocations: 7.938 kB / 0.7333 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1949, allocations: 0 / 0.7333 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1949, allocations: 4 kB / 0.7333 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.1953, allocations: 239.4 kB / 0.7336 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.1953, allocations: 7.938 kB / 0.7336 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1953, allocations: 4 kB / 0.7336 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1954, allocations: 8.266 kB / 0.7336 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1955, allocations: 11.92 kB / 0.7336 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1955, allocations: 8 kB / 0.7336 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.1955, allocations: 91.45 kB / 0.7337 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1955, allocations: 4 kB / 0.7337 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002429/0.1958, allocations: 20 kB / 0.7337 GB, free: 10.86 MB / 0.5606 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.0007443/0.1965, allocations: 0.7748 MB / 0.7345 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003189/0.1968, allocations: 91.88 kB / 0.7346 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1968, allocations: 0 / 0.7346 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.197, allocations: 48.03 kB / 0.7346 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1972, allocations: 17.3 kB / 0.7346 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.1992, allocations: 1.504 MB / 0.7361 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.365e-05/0.1992, allocations: 79.28 kB / 0.7362 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.959e-05/0.1993, allocations: 8.422 kB / 0.7362 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.1993, allocations: 19.44 kB / 0.7362 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.1993, allocations: 0 / 0.7362 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.2299, allocations: 2.654 MB / 0.7388 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.91, allocations: 1 kB / 0.7388 GB, free: 5.688 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.657178837107494] Failed to read output from testmodel.py, exit status != 0: 11.020103705115616 11.049006069 10.854490095 Calling exit ...