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.001704/0.001704, allocations: 117.9 kB / 17.84 MB, free: 5.234 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.002014/0.002014, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.564/1.564, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.024/1.024, allocations: 150 MB / 460.2 MB, free: 5.277 MB / 350.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.002428/0.002428, allocations: 67.97 kB / 0.6369 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2251, allocations: 89.13 MB / 0.7239 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002161/0.2273, allocations: 0.7528 MB / 0.7246 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2286, allocations: 0.863 MB / 0.7255 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.2287, allocations: 4 kB / 0.7255 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.2289, allocations: 59.78 kB / 0.7255 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.229, allocations: 35.84 kB / 0.7256 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 8.741e-05/0.2291, allocations: 15.97 kB / 0.7256 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.2292, allocations: 95.73 kB / 0.7257 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.2294, allocations: 23.92 kB / 0.7257 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.2295, allocations: 39.89 kB / 0.7257 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.2297, allocations: 91.7 kB / 0.7258 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.2297, allocations: 8 kB / 0.7258 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.2297, allocations: 8 kB / 0.7258 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.2298, allocations: 35.91 kB / 0.7259 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.2299, allocations: 47.66 kB / 0.7259 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2301, allocations: 115.8 kB / 0.726 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2301, allocations: 4 kB / 0.726 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2301, allocations: 3.938 kB / 0.726 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2301, allocations: 0 / 0.726 GB, free: 1.785 MB / 0.5294 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.001012/0.2311, allocations: 466.8 kB / 0.7265 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.2312, allocations: 8.031 kB / 0.7265 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.964e-05/0.2312, allocations: 12.19 kB / 0.7265 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.2312, allocations: 34.73 kB / 0.7265 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.2313, allocations: 16.84 kB / 0.7266 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.2315, allocations: 201.1 kB / 0.7267 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.2315, allocations: 4.375 kB / 0.7267 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2316, allocations: 4.375 kB / 0.7268 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.232, allocations: 159.5 kB / 0.7269 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.232, allocations: 0 / 0.7269 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.232, allocations: 0 / 0.7269 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.232, allocations: 4 kB / 0.7269 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005792/0.2326, allocations: 167.8 kB / 0.7271 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009272/0.2335, allocations: 0.5085 MB / 0.7276 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.234, allocations: 159 kB / 0.7277 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.2343, allocations: 93.73 kB / 0.7278 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2343, allocations: 3.938 kB / 0.7278 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2343, allocations: 30.56 kB / 0.7278 GB, free: 15.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.2343, allocations: 4 kB / 0.7278 GB, free: 15.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.000996/0.2353, allocations: 285.3 kB / 0.7281 GB, free: 15.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.2354, allocations: 81.11 kB / 0.7282 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2356, allocations: 162.2 kB / 0.7283 GB, free: 15.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2356, allocations: 29.7 kB / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.2357, allocations: 104.1 kB / 0.7285 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.2357, allocations: 31.73 kB / 0.7285 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.2358, allocations: 21.72 kB / 0.7285 GB, free: 14.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.236, allocations: 326.8 kB / 0.7288 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.2363, allocations: 79.92 kB / 0.7289 GB, free: 14.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.2366, allocations: 85.64 kB / 0.729 GB, free: 14.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.2372, allocations: 185.9 kB / 0.7292 GB, free: 14.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2372, allocations: 0 / 0.7292 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006813/0.2379, allocations: 201.5 kB / 0.7294 GB, free: 14.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.2379, allocations: 12 kB / 0.7294 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2379, allocations: 3.938 kB / 0.7294 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2379, allocations: 0 / 0.7294 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2381, allocations: 39.89 kB / 0.7294 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.2381, allocations: 0 / 0.7294 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.2383, allocations: 27.92 kB / 0.7294 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2383, allocations: 4 kB / 0.7294 GB, free: 14.02 MB / 0.545 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.0001332/0.2384, allocations: 133.8 kB / 0.7296 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.2385, allocations: 7.953 kB / 0.7296 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.2386, allocations: 24.23 kB / 0.7296 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2386, allocations: 0 / 0.7296 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2386, allocations: 4 kB / 0.7296 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2386, allocations: 0 / 0.7296 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.2389, allocations: 229.5 kB / 0.7298 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2389, allocations: 0 / 0.7298 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2391, allocations: 39.89 kB / 0.7299 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2391, allocations: 4 kB / 0.7299 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2391, allocations: 0 / 0.7299 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2391, allocations: 7.938 kB / 0.7299 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2391, allocations: 0 / 0.7299 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.2398, allocations: 378.5 kB / 0.7302 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.2399, allocations: 89.05 kB / 0.7303 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2399, allocations: 4 kB / 0.7303 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.2401, allocations: 23.97 kB / 0.7304 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.2402, allocations: 7.984 kB / 0.7304 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.2402, allocations: 0 / 0.7304 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001053/0.2403, allocations: 124.1 kB / 0.7305 GB, free: 12.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2403, allocations: 7.938 kB / 0.7305 GB, free: 12.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003069/0.2406, allocations: 27.89 kB / 0.7305 GB, free: 12.83 MB / 0.545 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.001186/0.2418, allocations: 0.903 MB / 0.7314 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007097/0.2425, allocations: 171.8 kB / 0.7316 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2425, allocations: 4 kB / 0.7316 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.2428, allocations: 91.86 kB / 0.7316 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.2432, allocations: 8 kB / 0.7317 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.2465, allocations: 1.988 MB / 0.7336 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.2469, allocations: 0.7118 MB / 0.7343 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.13e-05/0.247, allocations: 27.95 kB / 0.7343 GB, free: 8.781 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.2471, allocations: 31.44 kB / 0.7344 GB, free: 8.75 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.2471, allocations: 4 kB / 0.7344 GB, free: 8.746 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.2719, allocations: 2.738 MB / 0.737 GB, free: 6.129 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/8.612, allocations: 7.219 kB / 0.737 GB, free: 6.125 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.67793578398414] Failed to read output from testmodel.py, exit status != 0: 8.740865355997812 8.758529569 8.525118544 Calling exit ...