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.001268/0.001268, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001482/0.001482, allocations: 213.4 kB / 23.78 MB, free: 4.523 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.9639/0.9639, allocations: 150 MB / 464 MB, free: 10.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="cs",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.002065/0.002065, allocations: 58.28 kB / 0.6419 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1811, allocations: 89.17 MB / 0.729 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002039/0.1831, allocations: 0.6646 MB / 0.7297 GB, free: 152 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1846, allocations: 1.1 MB / 0.7307 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.1847, allocations: 0 / 0.7307 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.1847, allocations: 3.938 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.1848, allocations: 7.938 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.1851, allocations: 55.81 kB / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1852, allocations: 71.83 kB / 0.7309 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.1853, allocations: 11.98 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.1854, allocations: 23.92 kB / 0.7309 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.1855, allocations: 35.84 kB / 0.7309 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1855, allocations: 4 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.738e-05/0.1856, allocations: 23.98 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.1856, allocations: 11.98 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.1856, allocations: 27.86 kB / 0.731 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1858, allocations: 76.03 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1858, allocations: 0 / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1858, allocations: 3.938 kB / 0.7311 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1858, allocations: 4 kB / 0.7311 GB, free: 14.68 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.0006723/0.1865, allocations: 318.1 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1865, allocations: 8.031 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.956e-05/0.1865, allocations: 4.125 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.1866, allocations: 34.75 kB / 0.7314 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.832e-05/0.1867, allocations: 4.938 kB / 0.7314 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1868, allocations: 122.5 kB / 0.7316 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1868, allocations: 4.375 kB / 0.7316 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1868, allocations: 12.38 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.1871, allocations: 77.97 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1871, allocations: 11.86 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1871, allocations: 0 / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.1871, allocations: 4 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.1873, allocations: 51.95 kB / 0.7317 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.1879, allocations: 267.8 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1881, allocations: 74.73 kB / 0.732 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.1882, allocations: 44.77 kB / 0.7321 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1882, allocations: 0 / 0.7321 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.1885, allocations: 91.36 kB / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1885, allocations: 0 / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.000514/0.189, allocations: 173.7 kB / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1891, allocations: 59.34 kB / 0.7324 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1892, allocations: 113.8 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1892, allocations: 33.7 kB / 0.7325 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.1893, allocations: 80.38 kB / 0.7326 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.1893, allocations: 31.77 kB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1894, allocations: 37.7 kB / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1895, allocations: 314.8 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1896, allocations: 47.91 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1898, allocations: 65.2 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.19, allocations: 90.55 kB / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.19, allocations: 0 / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003434/0.1904, allocations: 153.2 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1904, allocations: 8.062 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1904, allocations: 4 kB / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1904, allocations: 0 / 0.7333 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1906, allocations: 24.3 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1906, allocations: 0 / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.1906, allocations: 19.94 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1907, allocations: 4 kB / 0.7334 GB, free: 12.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.0001143/0.1908, allocations: 133.6 kB / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.1908, allocations: 4 kB / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.1912, allocations: 157.9 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1912, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1912, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1912, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.1917, allocations: 373.5 kB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1917, allocations: 0 / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.1918, allocations: 8 kB / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1918, allocations: 0 / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1918, allocations: 15.98 kB / 0.734 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1918, allocations: 3.984 kB / 0.734 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1918, allocations: 3.938 kB / 0.734 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.1922, allocations: 235.4 kB / 0.7343 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.1922, allocations: 4 kB / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1923, allocations: 4.234 kB / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1924, allocations: 11.98 kB / 0.7343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1924, allocations: 11.94 kB / 0.7343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1924, allocations: 11.98 kB / 0.7343 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.1925, allocations: 79.28 kB / 0.7344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1925, allocations: 0 / 0.7344 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000254/0.1927, allocations: 20 kB / 0.7344 GB, free: 10.99 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.0007195/0.1934, allocations: 0.7852 MB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.1938, allocations: 103.8 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1938, allocations: 0 / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1939, allocations: 35.98 kB / 0.7353 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.1942, allocations: 19.92 kB / 0.7353 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.1961, allocations: 1.509 MB / 0.7368 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.903e-05/0.1962, allocations: 71.33 kB / 0.7369 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.1962, allocations: 4.438 kB / 0.7369 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1963, allocations: 19.42 kB / 0.7369 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.1963, allocations: 0 / 0.7369 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.2205, allocations: 2.296 MB / 0.7391 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.83, allocations: 10.8 kB / 0.7391 GB, free: 6.164 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.77506173402071] Failed to read output from testmodel.py, exit status != 0: 12.035349894897081 12.06252332 11.871619288 Calling exit ...