Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.001652/0.001652, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.002045/0.002045, allocations: 186 kB / 20.78 MB, free: 1.539 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.509/1.509, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.909/2.909, allocations: 476.7 MB / 0.7629 GB, free: 15.16 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.PID,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 71.89 kB / 1.107 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146/1.149, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005363/1.154, allocations: 3.63 MB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004352/1.158, allocations: 2.147 MB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008981/1.159, allocations: 21.19 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004613/1.16, allocations: 173 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004196/1.16, allocations: 152.5 kB / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/1.161, allocations: 0.5252 MB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001329/1.163, allocations: 1.249 MB / 1.279 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/1.163, allocations: 440.3 kB / 1.28 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/1.164, allocations: 442.5 kB / 1.28 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/1.164, allocations: 491 kB / 1.281 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/1.165, allocations: 129.2 kB / 1.281 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/1.165, allocations: 138.5 kB / 1.281 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/1.165, allocations: 256.3 kB / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005016/1.166, allocations: 0.5135 MB / 1.282 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/1.168, allocations: 1.438 MB / 1.283 GB, free: 196 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.168, allocations: 0 / 1.283 GB, free: 196 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/1.168, allocations: 0 / 1.283 GB, free: 196 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.532e-05/1.168, allocations: 0 / 1.283 GB, free: 196 kB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002926/1.17, allocations: 1.396 MB / 1.284 GB, free: 15.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.171, allocations: 9.562 kB / 1.284 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/1.171, allocations: 132.6 kB / 1.284 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/1.171, allocations: 125.1 kB / 1.285 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/1.172, allocations: 0.6055 MB / 1.285 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.986e-05/1.172, allocations: 72.62 kB / 1.285 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/1.172, allocations: 92.77 kB / 1.285 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/1.174, allocations: 0.8608 MB / 1.286 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/1.174, allocations: 3.938 kB / 1.286 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/1.174, allocations: 38.61 kB / 1.286 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/1.174, allocations: 20.59 kB / 1.286 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/1.175, allocations: 0.6378 MB / 1.287 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005162/1.181, allocations: 2.972 MB / 1.29 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/1.182, allocations: 0.66 MB / 1.29 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/1.183, allocations: 353.9 kB / 1.291 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/1.183, allocations: 7.766 kB / 1.291 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007862/1.184, allocations: 350.7 kB / 1.291 GB, free: 11.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 2.975e-06/1.184, allocations: 1.469 kB / 1.291 GB, free: 11.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.001977/1.186, allocations: 0.8371 MB / 1.292 GB, free: 11.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.186, allocations: 193.7 kB / 1.292 GB, free: 11.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/1.187, allocations: 0.6781 MB / 1.293 GB, free: 10.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/1.187, allocations: 43.5 kB / 1.293 GB, free: 10.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/1.187, allocations: 437.9 kB / 1.293 GB, free: 10.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/1.188, allocations: 238.4 kB / 1.293 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/1.188, allocations: 151.4 kB / 1.294 GB, free: 10.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.188, allocations: 338.1 kB / 1.294 GB, free: 9.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007453/1.189, allocations: 291.1 kB / 1.294 GB, free: 9.715 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/1.19, allocations: 489.2 kB / 1.295 GB, free: 9.395 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/1.191, allocations: 0.671 MB / 1.295 GB, free: 9.012 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/1.191, allocations: 3.938 kB / 1.295 GB, free: 9.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001946/1.193, allocations: 0.8896 MB / 1.296 GB, free: 8.621 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/1.193, allocations: 40.05 kB / 1.296 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.193, allocations: 2.281 kB / 1.296 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/1.193, allocations: 7.938 kB / 1.296 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/1.194, allocations: 161.4 kB / 1.296 GB, free: 8.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/1.194, allocations: 6.594 kB / 1.296 GB, free: 8.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/1.195, allocations: 143.9 kB / 1.297 GB, free: 8.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.195, allocations: 37.86 kB / 1.297 GB, free: 8.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009607/1.196, allocations: 396.9 kB / 1.297 GB, free: 8.281 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007346/1.197, allocations: 417.1 kB / 1.297 GB, free: 7.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001031/1.198, allocations: 0.576 MB / 1.298 GB, free: 7.609 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/1.198, allocations: 0 / 1.298 GB, free: 7.609 MB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001538/1.199, allocations: 0.7641 MB / 1.299 GB, free: 7.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/1.199, allocations: 41.06 kB / 1.299 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/1.199, allocations: 2.812 kB / 1.299 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.199, allocations: 7.266 kB / 1.299 GB, free: 7.215 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/1.2, allocations: 137.2 kB / 1.299 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.2, allocations: 7.109 kB / 1.299 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/1.2, allocations: 119 kB / 1.299 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/1.201, allocations: 28.23 kB / 1.299 GB, free: 7.148 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0003399/1.201, allocations: 227.5 kB / 1.299 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.201, allocations: 81.67 kB / 1.299 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/1.203, allocations: 0.6584 MB / 1.3 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.203, allocations: 6.375 kB / 1.3 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.203, allocations: 1.469 kB / 1.3 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.203, allocations: 3.188 kB / 1.3 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/1.206, allocations: 1.674 MB / 1.302 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.206, allocations: 2.625 kB / 1.302 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/1.206, allocations: 130.6 kB / 1.302 GB, free: 5.684 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/1.206, allocations: 9.125 kB / 1.302 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/1.206, allocations: 17.53 kB / 1.302 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/1.206, allocations: 5.875 kB / 1.302 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/1.206, allocations: 10.75 kB / 1.302 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/1.208, allocations: 1.091 MB / 1.303 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/1.209, allocations: 175.6 kB / 1.303 GB, free: 4.938 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/1.209, allocations: 20.22 kB / 1.303 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/1.209, allocations: 48.88 kB / 1.303 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/1.209, allocations: 42.78 kB / 1.303 GB, free: 4.902 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/1.209, allocations: 26.64 kB / 1.303 GB, free: 4.895 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007084/1.21, allocations: 479.1 kB / 1.304 GB, free: 4.684 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.21, allocations: 0 / 1.304 GB, free: 4.684 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001123/1.211, allocations: 320.1 kB / 1.304 GB, free: 4.59 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002568/1.214, allocations: 1.666 MB / 1.306 GB, free: 3.469 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002605/1.216, allocations: 1.066 MB / 1.307 GB, free: 3.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.216, allocations: 1.094 kB / 1.307 GB, free: 3.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006799/1.217, allocations: 292.5 kB / 1.307 GB, free: 2.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/1.218, allocations: 197.1 kB / 1.307 GB, free: 2.855 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/1.231, allocations: 6.64 MB / 1.313 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009871/1.232, allocations: 0.9765 MB / 1.314 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006072/1.233, allocations: 93.44 kB / 1.315 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/1.233, allocations: 349.5 kB / 1.315 GB, free: 14.22 MB / 1.029 GB Notification: Performance of SimCode: time 1.723e-06/1.233, allocations: 0 / 1.315 GB, free: 14.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05939/1.293, allocations: 16.48 MB / 1.331 GB, free: 11.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/11.36, allocations: 13.83 kB / 1.331 GB, free: 11.2 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID_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_PID.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.1365950970212] Failed to read output from testmodel.py, exit status != 0: 11.523249532998307 11.546526978 10.374496687 Calling exit ...