Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.00176/0.00176, allocations: 114.7 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.002074/0.002074, allocations: 189.9 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.553/1.553, allocations: 225.6 MB / 249.4 MB, free: 3.172 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.896/2.896, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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.PIDWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 59.91 kB / 1.107 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 168.7 MB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.004197/1.093, allocations: 3.326 MB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003114/1.096, allocations: 1.741 MB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007939/1.097, allocations: 19.47 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/1.098, allocations: 161.4 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003511/1.098, allocations: 129.8 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/1.099, allocations: 386.8 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001098/1.1, allocations: 1.067 MB / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007361/1.101, allocations: 459.1 kB / 1.279 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/1.101, allocations: 407.5 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/1.102, allocations: 445 kB / 1.279 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/1.102, allocations: 119.8 kB / 1.28 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/1.102, allocations: 126 kB / 1.28 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/1.102, allocations: 258 kB / 1.28 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003178/1.102, allocations: 480.4 kB / 1.28 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/1.104, allocations: 1.316 MB / 1.282 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/1.104, allocations: 0.7031 kB / 1.282 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/1.104, allocations: 3.938 kB / 1.282 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.3e-05/1.104, allocations: 0.9062 kB / 1.282 GB, free: 0.8477 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002352/1.106, allocations: 1.318 MB / 1.283 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.106, allocations: 10.17 kB / 1.283 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/1.106, allocations: 139.6 kB / 1.283 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/1.107, allocations: 119.5 kB / 1.283 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/1.107, allocations: 0.5671 MB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/1.107, allocations: 73.05 kB / 1.284 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/1.108, allocations: 99.83 kB / 1.284 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/1.109, allocations: 0.8761 MB / 1.285 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/1.109, allocations: 7.875 kB / 1.285 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/1.109, allocations: 38.44 kB / 1.285 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/1.109, allocations: 22.69 kB / 1.285 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/1.111, allocations: 0.6163 MB / 1.285 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004681/1.115, allocations: 2.805 MB / 1.288 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/1.117, allocations: 1.262 MB / 1.289 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006811/1.118, allocations: 368.1 kB / 1.29 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/1.118, allocations: 15.27 kB / 1.29 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006819/1.118, allocations: 352.8 kB / 1.29 GB, free: 11.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=74): time 2.805e-06/1.118, allocations: 0.9375 kB / 1.29 GB, free: 11.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=74): time 0.001709/1.12, allocations: 0.8216 MB / 1.291 GB, free: 11.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.12, allocations: 168.2 kB / 1.291 GB, free: 11.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/1.121, allocations: 0.5588 MB / 1.292 GB, free: 11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/1.121, allocations: 43.95 kB / 1.292 GB, free: 10.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/1.121, allocations: 400.1 kB / 1.292 GB, free: 10.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/1.122, allocations: 264.3 kB / 1.292 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/1.122, allocations: 131.5 kB / 1.292 GB, free: 10.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.122, allocations: 380.5 kB / 1.293 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/1.123, allocations: 245.3 kB / 1.293 GB, free: 9.934 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/1.123, allocations: 368.7 kB / 1.293 GB, free: 9.727 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/1.124, allocations: 0.5394 MB / 1.294 GB, free: 9.477 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.124, allocations: 0 / 1.294 GB, free: 9.477 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001477/1.126, allocations: 0.7072 MB / 1.295 GB, free: 9.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.126, allocations: 7.906 kB / 1.295 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.126, allocations: 1.219 kB / 1.295 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.126, allocations: 5.188 kB / 1.295 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/1.127, allocations: 155 kB / 1.295 GB, free: 9.164 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/1.127, allocations: 12.95 kB / 1.295 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/1.127, allocations: 98.95 kB / 1.295 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/1.127, allocations: 26.8 kB / 1.295 GB, free: 9.098 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000683/1.128, allocations: 349.8 kB / 1.295 GB, free: 8.898 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004759/1.128, allocations: 317.3 kB / 1.296 GB, free: 8.699 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007899/1.129, allocations: 465.5 kB / 1.296 GB, free: 8.457 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/1.129, allocations: 0 / 1.296 GB, free: 8.457 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001322/1.13, allocations: 0.6155 MB / 1.297 GB, free: 8.168 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.13, allocations: 6.203 kB / 1.297 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.13, allocations: 1.406 kB / 1.297 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/1.13, allocations: 3.812 kB / 1.297 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/1.131, allocations: 132.9 kB / 1.297 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.131, allocations: 7.188 kB / 1.297 GB, free: 8.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/1.131, allocations: 88.88 kB / 1.297 GB, free: 8.105 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/1.131, allocations: 19.92 kB / 1.297 GB, free: 8.102 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002405/1.132, allocations: 224.9 kB / 1.297 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.132, allocations: 73.77 kB / 1.297 GB, free: 7.848 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/1.133, allocations: 0.6434 MB / 1.298 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/1.133, allocations: 7.656 kB / 1.298 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.133, allocations: 5.906 kB / 1.298 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.133, allocations: 3.797 kB / 1.298 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/1.136, allocations: 1.696 MB / 1.299 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.136, allocations: 6.875 kB / 1.299 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/1.137, allocations: 138 kB / 1.3 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/1.137, allocations: 5.344 kB / 1.3 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/1.137, allocations: 14.45 kB / 1.3 GB, free: 6.641 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/1.137, allocations: 5.328 kB / 1.3 GB, free: 6.641 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.137, allocations: 5.719 kB / 1.3 GB, free: 6.637 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/1.138, allocations: 1.068 MB / 1.301 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/1.139, allocations: 159.1 kB / 1.301 GB, free: 5.949 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/1.139, allocations: 19.2 kB / 1.301 GB, free: 5.938 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/1.139, allocations: 49.2 kB / 1.301 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/1.139, allocations: 48.34 kB / 1.301 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/1.139, allocations: 24.16 kB / 1.301 GB, free: 5.906 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005389/1.14, allocations: 396.4 kB / 1.301 GB, free: 5.727 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.14, allocations: 0 / 1.301 GB, free: 5.727 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008865/1.141, allocations: 314.8 kB / 1.302 GB, free: 5.613 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.002235/1.143, allocations: 1.643 MB / 1.303 GB, free: 4.508 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001817/1.145, allocations: 0.8281 MB / 1.304 GB, free: 4.242 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.145, allocations: 1.281 kB / 1.304 GB, free: 4.242 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005542/1.145, allocations: 299.9 kB / 1.304 GB, free: 4.148 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/1.146, allocations: 139.1 kB / 1.304 GB, free: 4.098 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009823/1.156, allocations: 5.97 MB / 1.31 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007332/1.157, allocations: 0.9773 MB / 1.311 GB, free: 196 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004916/1.157, allocations: 91.38 kB / 1.311 GB, free: 176 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/1.158, allocations: 336.5 kB / 1.312 GB, free: 15.91 MB / 1.029 GB Notification: Performance of SimCode: time 1.643e-06/1.158, allocations: 0 / 1.312 GB, free: 15.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05061/1.208, allocations: 14 MB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.46/10.67, allocations: 10.61 kB / 1.325 GB, free: 14.61 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_PIDWithReset.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.237094415002503] Failed to read output from testmodel.py, exit status != 0: 10.748054715018952 10.763240667 9.656298809 Calling exit ...