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.0009681/0.0009681, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001841/0.001841, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9651/0.9651, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5921/0.5921, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 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: Performance of FrontEnd - loaded program: time 7.143e-06/7.143e-06, allocations: 3.984 kB / 0.5543 GB, free: 1.633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.53e-05, allocations: 3.688 kB / 0.5543 GB, free: 1.629 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002171/0.002207, allocations: 0.7398 MB / 0.555 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003458, allocations: 0.851 MB / 0.5558 GB, free: 28 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.003524, allocations: 0 / 0.5558 GB, free: 28 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.003809, allocations: 59.73 kB / 0.5559 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.003879, allocations: 39.77 kB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.481e-05/0.003974, allocations: 23.97 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.004129, allocations: 83.75 kB / 0.556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.004299, allocations: 19.98 kB / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.004414, allocations: 51.89 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.004579, allocations: 75.83 kB / 0.5561 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.004619, allocations: 8 kB / 0.5562 GB, free: 15.67 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.967e-05/0.004639, allocations: 11.94 kB / 0.5562 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.00473, allocations: 39.89 kB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.004785, allocations: 31.91 kB / 0.5562 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.004962, allocations: 119.6 kB / 0.5563 GB, free: 15.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.004967, allocations: 0 / 0.5563 GB, free: 15.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.004969, allocations: 4 kB / 0.5564 GB, free: 15.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.004975, allocations: 0 / 0.5564 GB, free: 15.47 MB / 490.7 MB 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.0007976/0.005773, allocations: 389.7 kB / 0.5567 GB, free: 15.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.005821, allocations: 11.97 kB / 0.5567 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.005871, allocations: 42.73 kB / 0.5568 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.005907, allocations: 12.89 kB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.00612, allocations: 152.8 kB / 0.5569 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.006134, allocations: 12.31 kB / 0.5569 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.006151, allocations: 4.375 kB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.00657, allocations: 153.6 kB / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.006579, allocations: 192 / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.006593, allocations: 4.312 kB / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.006601, allocations: 4.125 kB / 0.5571 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.007073, allocations: 171.8 kB / 0.5573 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/0.007897, allocations: 456 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.008301, allocations: 173 kB / 0.5579 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.008522, allocations: 89.73 kB / 0.558 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.008541, allocations: 7.984 kB / 0.558 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.008567, allocations: 30.56 kB / 0.558 GB, free: 13.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.008569, allocations: 0 / 0.558 GB, free: 13.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.000809/0.009378, allocations: 289.3 kB / 0.5583 GB, free: 13.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.009449, allocations: 77.11 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.009597, allocations: 162.3 kB / 0.5585 GB, free: 13.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.009615, allocations: 25.7 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.009679, allocations: 104.1 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.009715, allocations: 31.73 kB / 0.5586 GB, free: 12.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.009772, allocations: 21.72 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.009901, allocations: 330.8 kB / 0.559 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.01013, allocations: 75.92 kB / 0.5591 GB, free: 12.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.01034, allocations: 93.58 kB / 0.5591 GB, free: 12.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.01075, allocations: 173.6 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01075, allocations: 0 / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005051/0.01126, allocations: 217.3 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.01128, allocations: 4 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01129, allocations: 0 / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.0113, allocations: 4 kB / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.01149, allocations: 31.95 kB / 0.5596 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.0115, allocations: 0 / 0.5596 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01161, allocations: 27.95 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.01162, allocations: 0 / 0.5596 GB, free: 11.93 MB / 490.7 MB 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.0001161/0.01174, allocations: 129.8 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.0118, allocations: 23.83 kB / 0.5597 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.01184, allocations: 16.34 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01184, allocations: 0 / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.01185, allocations: 3.938 kB / 0.5598 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01185, allocations: 0 / 0.5598 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.01217, allocations: 193.1 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.01218, allocations: 0 / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.01233, allocations: 35.95 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.01234, allocations: 4 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.01235, allocations: 0 / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.01235, allocations: 4 kB / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.01236, allocations: 4 kB / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.01291, allocations: 386.6 kB / 0.5603 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.01293, allocations: 11.91 kB / 0.5604 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01294, allocations: 11.98 kB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.01305, allocations: 19.97 kB / 0.5604 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.01311, allocations: 11.98 kB / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.01311, allocations: 4 kB / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.68e-05/0.01318, allocations: 122.5 kB / 0.5605 GB, free: 10.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01318, allocations: 0 / 0.5605 GB, free: 10.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.01338, allocations: 19.94 kB / 0.5605 GB, free: 10.88 MB / 490.7 MB 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.0006626/0.01405, allocations: 0.9107 MB / 0.5614 GB, free: 9.941 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.01438, allocations: 179.8 kB / 0.5616 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01439, allocations: 0 / 0.5616 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.01458, allocations: 87.86 kB / 0.5617 GB, free: 9.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.0149, allocations: 12 kB / 0.5617 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.0169, allocations: 1.973 MB / 0.5636 GB, free: 7.598 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.01701, allocations: 96.3 kB / 0.5637 GB, free: 7.484 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.63e-05/0.01709, allocations: 31.91 kB / 0.5637 GB, free: 7.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.01716, allocations: 32.5 kB / 0.5638 GB, free: 7.422 MB / 490.7 MB Notification: Performance of SimCode: time 1.452e-06/0.01716, allocations: 0 / 0.5638 GB, free: 7.422 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.03788, allocations: 3.412 MB / 0.5671 GB, free: 4.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/7.168, allocations: 6.125 kB / 0.5671 GB, free: 4.16 MB / 490.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.936877075582743] Failed to read output from testmodel.py, exit status != 0: 7.248922393657267 7.260319456 7.252829976 Calling exit ...