Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.001381/0.001381, 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.001467/0.001467, allocations: 212.9 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 1.029/1.029, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.Reals.Validation.MatrixGain,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixGain",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.002206/0.002206, allocations: 62.97 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1857, allocations: 89.17 MB / 0.7282 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002225/0.188, allocations: 0.7411 MB / 0.7289 GB, free: 252 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1891, allocations: 0.847 MB / 0.7298 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.1892, allocations: 4 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.1894, allocations: 55.8 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.1894, allocations: 39.83 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 8.361e-05/0.1895, allocations: 23.97 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1897, allocations: 79.81 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1898, allocations: 19.98 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.1899, allocations: 47.77 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.19, allocations: 79.78 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1901, allocations: 8 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.1901, allocations: 8 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.1902, allocations: 43.89 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.1902, allocations: 39.72 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1904, allocations: 115.8 kB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1904, allocations: 0 / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1904, allocations: 0 / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1904, allocations: 0 / 0.7303 GB, free: 14.83 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008089/0.1912, allocations: 393.7 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1912, allocations: 16.03 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.655e-05/0.1913, allocations: 30.75 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.1914, allocations: 20.84 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1916, allocations: 146.3 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1916, allocations: 384 / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1916, allocations: 8.375 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.192, allocations: 147.9 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.192, allocations: 3.938 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1921, allocations: 12 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1921, allocations: 0 / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.1926, allocations: 167.8 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.1935, allocations: 471.9 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.1939, allocations: 157.1 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.1942, allocations: 89.73 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1942, allocations: 7.938 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1943, allocations: 38.55 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.1943, allocations: 4 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001101/0.1954, allocations: 281.6 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.1954, allocations: 85.11 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.1956, allocations: 173.5 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1956, allocations: 25.7 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.1957, allocations: 104.1 kB / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.1957, allocations: 31.73 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.1958, allocations: 21.72 kB / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1959, allocations: 326.8 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.1962, allocations: 75.92 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.1964, allocations: 93.64 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.1969, allocations: 173.6 kB / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1969, allocations: 0 / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005635/0.1975, allocations: 205.4 kB / 0.7335 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1975, allocations: 10.03 kB / 0.7335 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1975, allocations: 0 / 0.7335 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1975, allocations: 0 / 0.7335 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1978, allocations: 39.95 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1978, allocations: 4 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1979, allocations: 27.92 kB / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1979, allocations: 0 / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.000117/0.198, allocations: 137.7 kB / 0.7337 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.1981, allocations: 7.953 kB / 0.7337 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.1982, allocations: 20.33 kB / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1982, allocations: 4 kB / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1982, allocations: 0 / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1982, allocations: 0 / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.1985, allocations: 188.6 kB / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1985, allocations: 4 kB / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.1987, allocations: 27.97 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.1987, allocations: 7.984 kB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1987, allocations: 0 / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1987, allocations: 0 / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1987, allocations: 0 / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/0.1994, allocations: 390.5 kB / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.1994, allocations: 11.89 kB / 0.7343 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1994, allocations: 0 / 0.7343 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1996, allocations: 31.89 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.1997, allocations: 11.98 kB / 0.7343 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1997, allocations: 0 / 0.7343 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001067/0.1998, allocations: 129.8 kB / 0.7345 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1998, allocations: 0 / 0.7345 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002803/0.2001, allocations: 23.95 kB / 0.7345 GB, free: 10.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001032/0.2011, allocations: 0.907 MB / 0.7354 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005918/0.2017, allocations: 180 kB / 0.7355 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2017, allocations: 0 / 0.7355 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.202, allocations: 83.92 kB / 0.7356 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.2024, allocations: 12 kB / 0.7356 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.2055, allocations: 1.983 MB / 0.7376 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.2056, allocations: 92.19 kB / 0.7377 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.2057, allocations: 23.97 kB / 0.7377 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2058, allocations: 39.42 kB / 0.7377 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.2058, allocations: 0 / 0.7377 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.2368, allocations: 3.27 MB / 0.7409 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.39, allocations: 11.72 kB / 0.7409 GB, free: 3.652 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.29485318204388] Failed to read output from testmodel.py, exit status != 0: 11.503530773799866 11.520894292 11.3267845 Calling exit ...