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.00184/0.00184, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.002277/0.002277, allocations: 221.1 kB / 23.01 MB, free: 5.047 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.965/0.965, allocations: 150 MB / 463.2 MB, free: 10.45 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.002332/0.002332, allocations: 67.22 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1921, allocations: 89.18 MB / 0.7284 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002009/0.1941, allocations: 0.7529 MB / 0.7291 GB, free: 456 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1952, allocations: 0.8588 MB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.1952, allocations: 7.938 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.1954, allocations: 55.8 kB / 0.73 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.1955, allocations: 39.83 kB / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.221e-05/0.1956, allocations: 19.97 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1957, allocations: 87.75 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1958, allocations: 15.98 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.721e-05/0.1959, allocations: 39.84 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.1961, allocations: 95.77 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.1961, allocations: 8 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.1961, allocations: 8 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.1962, allocations: 39.83 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.1963, allocations: 43.73 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1965, allocations: 119.7 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1965, allocations: 0 / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1965, allocations: 0 / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1965, allocations: 0 / 0.7305 GB, free: 15 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.0008503/0.1973, allocations: 393.7 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1973, allocations: 8.031 kB / 0.7309 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.1974, allocations: 42.73 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.1974, allocations: 12.84 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1976, allocations: 138.4 kB / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1976, allocations: 8.312 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1977, allocations: 4.375 kB / 0.7311 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.1981, allocations: 163.8 kB / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1981, allocations: 3.938 kB / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1981, allocations: 0 / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1981, allocations: 0 / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005352/0.1986, allocations: 175.8 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008771/0.1995, allocations: 487.9 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.1999, allocations: 161 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.2002, allocations: 93.72 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2002, allocations: 8 kB / 0.7322 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2002, allocations: 30.56 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2002, allocations: 0 / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008854/0.2011, allocations: 281.4 kB / 0.7325 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.2012, allocations: 81.09 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.2013, allocations: 166.4 kB / 0.7327 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.2014, allocations: 33.7 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.2014, allocations: 108 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.2015, allocations: 27.75 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.2015, allocations: 21.72 kB / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2017, allocations: 326.8 kB / 0.7332 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.2019, allocations: 75.92 kB / 0.7333 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.2022, allocations: 97.56 kB / 0.7333 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.2026, allocations: 173.6 kB / 0.7335 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2026, allocations: 0 / 0.7335 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005458/0.2032, allocations: 205.9 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2032, allocations: 4 kB / 0.7337 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2032, allocations: 0 / 0.7337 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2032, allocations: 4 kB / 0.7337 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.2034, allocations: 32 kB / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2034, allocations: 0 / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.2036, allocations: 47.89 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.2036, allocations: 0 / 0.7338 GB, free: 11.43 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.0001173/0.2037, allocations: 129.8 kB / 0.7339 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.2038, allocations: 7.953 kB / 0.7339 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.2038, allocations: 28.28 kB / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2038, allocations: 0 / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2038, allocations: 0 / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2038, allocations: 0 / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.2041, allocations: 204.5 kB / 0.7341 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2041, allocations: 4 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2043, allocations: 35.95 kB / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2043, allocations: 0 / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2043, allocations: 0 / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2043, allocations: 0 / 0.7342 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.2043, allocations: 7.984 kB / 0.7342 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.205, allocations: 382.5 kB / 0.7346 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.205, allocations: 7.953 kB / 0.7346 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.205, allocations: 0 / 0.7346 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.2052, allocations: 31.95 kB / 0.7346 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.2053, allocations: 11.92 kB / 0.7346 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.2053, allocations: 8 kB / 0.7346 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001081/0.2054, allocations: 119.2 kB / 0.7347 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2054, allocations: 3.938 kB / 0.7347 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002888/0.2057, allocations: 23.95 kB / 0.7348 GB, free: 10.37 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.001019/0.2067, allocations: 0.9068 MB / 0.7356 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005619/0.2073, allocations: 167.8 kB / 0.7358 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2073, allocations: 0 / 0.7358 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.2075, allocations: 95.84 kB / 0.7359 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2079, allocations: 12 kB / 0.7359 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.211, allocations: 1.975 MB / 0.7378 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.2114, allocations: 0.7119 MB / 0.7385 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.917e-05/0.2114, allocations: 31.97 kB / 0.7386 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.2115, allocations: 31.42 kB / 0.7386 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2115, allocations: 0 / 0.7386 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.2422, allocations: 2.828 MB / 0.7413 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.28, allocations: 9.938 kB / 0.7414 GB, free: 3.609 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.939137630164623] Failed to read output from testmodel.py, exit status != 0: 11.384777737082914 11.401955917 11.202131499 Calling exit ...