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.001255/0.001255, allocations: 105 kB / 20.48 MB, free: 1.488 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.001536/0.001536, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.464/1.464, allocations: 230.6 MB / 257.6 MB, free: 8.043 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.9478/0.9478, allocations: 150 MB / 464 MB, free: 10.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixGain",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.002035/0.002035, allocations: 63 kB / 0.6421 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.191, allocations: 89.17 MB / 0.7292 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001926/0.193, allocations: 0.7599 MB / 0.7299 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.194, allocations: 0.8549 MB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.1941, allocations: 0 / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.1943, allocations: 67.78 kB / 0.7308 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.23e-05/0.1944, allocations: 31.84 kB / 0.7308 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.593e-05/0.1945, allocations: 15.97 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1946, allocations: 95.73 kB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1947, allocations: 12 kB / 0.731 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.84e-05/0.1948, allocations: 55.77 kB / 0.731 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.195, allocations: 87.77 kB / 0.7311 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.195, allocations: 8 kB / 0.7311 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.195, allocations: 8 kB / 0.7311 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.1951, allocations: 35.91 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.1952, allocations: 43.67 kB / 0.7312 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1953, allocations: 119.7 kB / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1953, allocations: 0 / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1953, allocations: 4 kB / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1953, allocations: 4 kB / 0.7313 GB, free: 15.11 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.0008125/0.1962, allocations: 389.7 kB / 0.7317 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1962, allocations: 12.03 kB / 0.7317 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.429e-05/0.1962, allocations: 192 / 0.7317 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.1963, allocations: 38.75 kB / 0.7317 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.1963, allocations: 16.84 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1965, allocations: 150.3 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1965, allocations: 4.375 kB / 0.7319 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1965, allocations: 4.375 kB / 0.7319 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.197, allocations: 151.6 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.197, allocations: 0 / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.197, allocations: 8 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.197, allocations: 3.984 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/0.1976, allocations: 163.8 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.1985, allocations: 487.9 kB / 0.7327 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.1989, allocations: 165.1 kB / 0.7328 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.1992, allocations: 89.73 kB / 0.7329 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1992, allocations: 4 kB / 0.7329 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1993, allocations: 38.5 kB / 0.7329 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1993, allocations: 0 / 0.7329 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0009201/0.2002, allocations: 277.8 kB / 0.7332 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.2002, allocations: 85.05 kB / 0.7333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.2004, allocations: 170.4 kB / 0.7335 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2004, allocations: 29.7 kB / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2005, allocations: 108 kB / 0.7336 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.2006, allocations: 27.75 kB / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.2006, allocations: 21.7 kB / 0.7336 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.2008, allocations: 326.8 kB / 0.7339 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.2011, allocations: 75.92 kB / 0.734 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.2014, allocations: 97.64 kB / 0.7341 GB, free: 12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.2019, allocations: 177.5 kB / 0.7343 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2019, allocations: 0 / 0.7343 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005829/0.2025, allocations: 201.4 kB / 0.7345 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2025, allocations: 6.656 kB / 0.7345 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2025, allocations: 0 / 0.7345 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2025, allocations: 4 kB / 0.7345 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.2027, allocations: 39.95 kB / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2027, allocations: 7.938 kB / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.2029, allocations: 27.86 kB / 0.7346 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2029, allocations: 4 kB / 0.7346 GB, free: 11.54 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.0001263/0.203, allocations: 129.8 kB / 0.7347 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.2031, allocations: 11.95 kB / 0.7347 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.2031, allocations: 24.33 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2031, allocations: 0 / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2031, allocations: 0 / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2031, allocations: 0 / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.2035, allocations: 204.5 kB / 0.7349 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2035, allocations: 0 / 0.7349 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.2036, allocations: 35.95 kB / 0.7349 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2037, allocations: 0 / 0.7349 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2037, allocations: 4 kB / 0.735 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2037, allocations: 0 / 0.735 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2037, allocations: 12 kB / 0.735 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.2043, allocations: 374.5 kB / 0.7353 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.2044, allocations: 11.95 kB / 0.7353 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.2044, allocations: 11.98 kB / 0.7353 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.2046, allocations: 19.97 kB / 0.7354 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.2047, allocations: 11.98 kB / 0.7354 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2047, allocations: 0 / 0.7354 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000104/0.2048, allocations: 125.9 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2048, allocations: 3.938 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002839/0.2051, allocations: 23.89 kB / 0.7355 GB, free: 10.48 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.001038/0.2061, allocations: 0.9108 MB / 0.7364 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006644/0.2068, allocations: 171.8 kB / 0.7366 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.2068, allocations: 4 kB / 0.7366 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.207, allocations: 84.3 kB / 0.7367 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.2074, allocations: 12 kB / 0.7367 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.2106, allocations: 1.989 MB / 0.7386 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.2111, allocations: 0.7041 MB / 0.7393 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.453e-05/0.2112, allocations: 27.95 kB / 0.7393 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.2112, allocations: 27.44 kB / 0.7394 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.2112, allocations: 0 / 0.7394 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.2373, allocations: 2.868 MB / 0.7422 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.54, allocations: 12.42 kB / 0.7422 GB, free: 3.695 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.335056408017408] Failed to read output from testmodel.py, exit status != 0: 11.70837223797571 11.73312674 11.533279819 Calling exit ...