Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001395/0.001395, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001646/0.001646, allocations: 214.7 kB / 22.99 MB, free: 4.977 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9418/0.9418, allocations: 149.9 MB / 463.1 MB, free: 10.32 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.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",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.002071/0.002071, allocations: 66.98 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1853, allocations: 89.17 MB / 0.7281 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002274/0.1876, allocations: 0.6503 MB / 0.7288 GB, free: 392 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1895, allocations: 1.1 MB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.1895, allocations: 0 / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.1896, allocations: 0 / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.313e-05/0.1896, allocations: 11.88 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.19, allocations: 47.83 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1901, allocations: 51.84 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1902, allocations: 4 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.1903, allocations: 19.98 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.1904, allocations: 35.83 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1904, allocations: 4 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.307e-05/0.1905, allocations: 19.92 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.1905, allocations: 8 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.1905, allocations: 19.92 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.1907, allocations: 64 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1907, allocations: 0 / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/0.1907, allocations: 0 / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1907, allocations: 0 / 0.7301 GB, free: 14.99 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006513/0.1914, allocations: 298.2 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1914, allocations: 8.031 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.1915, allocations: 34.75 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.1915, allocations: 8.891 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1917, allocations: 110.4 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1917, allocations: 8.375 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1917, allocations: 8.359 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.1919, allocations: 66.16 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1919, allocations: 3.938 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1919, allocations: 0 / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1919, allocations: 8 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.1921, allocations: 43.95 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.1926, allocations: 243.9 kB / 0.7309 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1928, allocations: 58.48 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.932e-05/0.1929, allocations: 24.97 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1929, allocations: 0 / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.1932, allocations: 79.38 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.1932, allocations: 0 / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004592/0.1936, allocations: 133.5 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1937, allocations: 55.41 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1938, allocations: 109.8 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1938, allocations: 25.7 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.1939, allocations: 80.14 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1939, allocations: 31.78 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.194, allocations: 25.72 kB / 0.7315 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1941, allocations: 318.8 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.1942, allocations: 24.23 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1943, allocations: 60.27 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.1946, allocations: 100.2 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1946, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000274/0.1949, allocations: 113.5 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1949, allocations: 4 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1949, allocations: 4 kB / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1949, allocations: 0 / 0.7321 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.195, allocations: 24.05 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.195, allocations: 4 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.1951, allocations: 11.94 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.1951, allocations: 8 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.631e-05/0.1952, allocations: 117.8 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.1952, allocations: 8.031 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.1955, allocations: 110.1 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1955, allocations: 0 / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1955, allocations: 7.938 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1955, allocations: 0 / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.196, allocations: 329.5 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.196, allocations: 0 / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.1961, allocations: 11.94 kB / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.1961, allocations: 3.984 kB / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1961, allocations: 0 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1961, allocations: 0 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1961, allocations: 0 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.1964, allocations: 211.8 kB / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.1964, allocations: 7.891 kB / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1964, allocations: 0 / 0.7329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.1965, allocations: 15.98 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.1966, allocations: 3.938 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1966, allocations: 4 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.705e-05/0.1966, allocations: 87.27 kB / 0.733 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1966, allocations: 0 / 0.733 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002487/0.1969, allocations: 16 kB / 0.7331 GB, free: 11.67 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * 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.0006687/0.1976, allocations: 0.7289 MB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.1978, allocations: 71.88 kB / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1978, allocations: 0 / 0.7338 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.1979, allocations: 32.22 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1982, allocations: 26.3 kB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1999, allocations: 1.422 MB / 0.7353 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.4e-05/0.2, allocations: 75.33 kB / 0.7354 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.2, allocations: 4 kB / 0.7354 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.2, allocations: 15.44 kB / 0.7354 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.2, allocations: 0 / 0.7354 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.2294, allocations: 2.362 MB / 0.7377 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.36, allocations: 10.31 kB / 0.7377 GB, free: 6.93 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_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_ZeroOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.205805169418454] Failed to read output from testmodel.py, exit status != 0: 11.461568191181868 11.479628138 11.28542994 Calling exit ...