Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.89 kB / 1.107 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 168.7 MB / 1.272 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002206/1.089, allocations: 0.6838 MB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009987/1.09, allocations: 0.8171 MB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/1.09, allocations: 0.7812 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/1.09, allocations: 0 / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.554e-05/1.09, allocations: 5.188 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/1.09, allocations: 8.891 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.709e-05/1.09, allocations: 24.73 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/1.091, allocations: 3.797 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/1.091, allocations: 15.95 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/1.091, allocations: 17.73 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/1.091, allocations: 2.281 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/1.091, allocations: 1.562 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/1.091, allocations: 1.844 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/1.091, allocations: 11.59 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.583e-05/1.091, allocations: 23.44 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.091, allocations: 0 / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.091, allocations: 0.7812 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.61e-06/1.091, allocations: 0 / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004105/1.091, allocations: 336.9 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.091, allocations: 9.75 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.737e-05/1.091, allocations: 35.5 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/1.091, allocations: 6.484 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/1.091, allocations: 167 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/1.091, allocations: 5.156 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-06/1.091, allocations: 1.875 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/1.092, allocations: 48.86 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.092, allocations: 4.812 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/1.092, allocations: 4.562 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/1.092, allocations: 0.9375 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/1.092, allocations: 31.88 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/1.092, allocations: 246.8 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/1.092, allocations: 44.5 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/1.092, allocations: 18.92 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/1.092, allocations: 1.703 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/1.092, allocations: 31.38 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/1.092, allocations: 3.938 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003691/1.093, allocations: 91.94 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/1.093, allocations: 52.31 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.414e-05/1.093, allocations: 105.6 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/1.093, allocations: 25.7 kB / 1.274 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/1.093, allocations: 82.45 kB / 1.274 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/1.093, allocations: 13.55 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/1.093, allocations: 12.25 kB / 1.274 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/1.093, allocations: 312.8 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/1.093, allocations: 22.94 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/1.093, allocations: 13.89 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/1.093, allocations: 37.58 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.093, allocations: 7.938 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/1.093, allocations: 75.69 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.093, allocations: 5.312 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.093, allocations: 3.938 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.093, allocations: 1.094 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/1.094, allocations: 9.812 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.094, allocations: 0 / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/1.094, allocations: 5.266 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/1.094, allocations: 2.422 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 4.591e-05/1.094, allocations: 114.9 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/1.094, allocations: 1.969 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/1.094, allocations: 75.69 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.094, allocations: 0.8438 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.094, allocations: 0 / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.094, allocations: 0.8438 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/1.094, allocations: 159 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.094, allocations: 2.344 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/1.094, allocations: 12.45 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.094, allocations: 1.156 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/1.094, allocations: 0 / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.094, allocations: 0.7812 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.094, allocations: 0 / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/1.094, allocations: 171 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/1.094, allocations: 78.14 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/1.094, allocations: 4.781 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/1.094, allocations: 8.875 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/1.094, allocations: 6.281 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/1.094, allocations: 0 / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.054e-05/1.094, allocations: 78.81 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.094, allocations: 0 / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002082/1.095, allocations: 8.094 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0004255/1.095, allocations: 0.698 MB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001998/1.095, allocations: 43.53 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.095, allocations: 0.6875 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/1.095, allocations: 16.91 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/1.096, allocations: 9.531 kB / 1.276 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/1.096, allocations: 161.8 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/1.096, allocations: 0.6763 MB / 1.277 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.228e-05/1.096, allocations: 5.156 kB / 1.277 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/1.096, allocations: 9.031 kB / 1.277 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/1.096, allocations: 0 / 1.277 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/1.12, allocations: 1.267 MB / 1.278 GB, free: 18.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/9.134, allocations: 2.828 kB / 1.278 GB, free: 18.22 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.516078863991424] Failed to read output from testmodel.py, exit status != 0: 9.203523050993681 9.228585612 8.133110214 Calling exit ...