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.001643/0.001643, 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.001692/0.001692, allocations: 217.3 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.462/1.462, allocations: 230.6 MB / 257.5 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 0.9731/0.9731, allocations: 150 MB / 464 MB, free: 10.2 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.002162/0.002162, allocations: 61.52 kB / 0.642 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2101, allocations: 89.18 MB / 0.7291 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002121/0.2122, allocations: 0.7335 MB / 0.7298 GB, free: 16 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2133, allocations: 0.8471 MB / 0.7306 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.2134, allocations: 0 / 0.7306 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.2136, allocations: 63.73 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.2137, allocations: 35.83 kB / 0.7307 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.607e-05/0.2137, allocations: 15.98 kB / 0.7307 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.2139, allocations: 91.8 kB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.214, allocations: 11.98 kB / 0.7308 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.2141, allocations: 47.78 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.2143, allocations: 91.77 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.2143, allocations: 8 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.778e-05/0.2143, allocations: 8 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.2144, allocations: 35.89 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.2145, allocations: 39.8 kB / 0.7311 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.2147, allocations: 119.7 kB / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2147, allocations: 0 / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2147, allocations: 0 / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2147, allocations: 0 / 0.7312 GB, free: 14.6 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.0008737/0.2156, allocations: 393.7 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2156, allocations: 8.031 kB / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.621e-05/0.2156, allocations: 4.188 kB / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.2157, allocations: 42.67 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.2157, allocations: 16.84 kB / 0.7316 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.2159, allocations: 138.4 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2159, allocations: 8.375 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.2159, allocations: 8.375 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.2163, allocations: 155.6 kB / 0.7319 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2164, allocations: 0 / 0.7319 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2164, allocations: 7.938 kB / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2164, allocations: 0 / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.2169, allocations: 175.8 kB / 0.7321 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.2178, allocations: 471.9 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.2182, allocations: 149.1 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.2184, allocations: 101.7 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2185, allocations: 7.984 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2185, allocations: 34.5 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.2185, allocations: 0 / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008767/0.2194, allocations: 281.4 kB / 0.7331 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2194, allocations: 89.03 kB / 0.7332 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2196, allocations: 166.4 kB / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2196, allocations: 29.7 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.2197, allocations: 104.1 kB / 0.7335 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.2197, allocations: 27.75 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.2198, allocations: 21.72 kB / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2199, allocations: 330.8 kB / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.2202, allocations: 75.92 kB / 0.7339 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.2204, allocations: 89.62 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.2209, allocations: 177.5 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2209, allocations: 0 / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005665/0.2215, allocations: 197.5 kB / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2215, allocations: 12 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2215, allocations: 0 / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2215, allocations: 0 / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.2217, allocations: 39.89 kB / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2217, allocations: 4.141 kB / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2219, allocations: 35.91 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.2219, allocations: 0 / 0.7344 GB, free: 11.04 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.0001112/0.222, allocations: 129.8 kB / 0.7346 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.222, allocations: 11.95 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.2221, allocations: 20.34 kB / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2221, allocations: 4 kB / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2221, allocations: 0 / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2221, allocations: 0 / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.2224, allocations: 188.6 kB / 0.7348 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2224, allocations: 4 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.2226, allocations: 31.95 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.2226, allocations: 4 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2226, allocations: 8 kB / 0.7348 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2226, allocations: 4 kB / 0.7348 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2226, allocations: 4.406 kB / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.2232, allocations: 374.5 kB / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.2232, allocations: 15.92 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.2232, allocations: 7.938 kB / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.2234, allocations: 27.97 kB / 0.7352 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.2235, allocations: 15.92 kB / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.2235, allocations: 0 / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001056/0.2236, allocations: 127.2 kB / 0.7354 GB, free: 10 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2236, allocations: 0 / 0.7354 GB, free: 10 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002793/0.2239, allocations: 23.89 kB / 0.7354 GB, free: 9.977 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.0009706/0.2249, allocations: 0.9069 MB / 0.7363 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.2254, allocations: 171.8 kB / 0.7364 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2254, allocations: 4 kB / 0.7364 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.2257, allocations: 83.92 kB / 0.7365 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.2261, allocations: 14.17 kB / 0.7365 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.2292, allocations: 1.98 MB / 0.7385 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.2293, allocations: 92.19 kB / 0.7386 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.744e-05/0.2294, allocations: 27.95 kB / 0.7386 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.2294, allocations: 27.44 kB / 0.7386 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2294, allocations: 4 kB / 0.7386 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.2536, allocations: 2.917 MB / 0.7415 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.79, allocations: 13.16 kB / 0.7415 GB, free: 3.781 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.676114151952788] Failed to read output from testmodel.py, exit status != 0: 11.950362397008575 11.97292506 11.753327356 Calling exit ...