Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.00155/0.00155, allocations: 114 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.001749/0.001749, allocations: 186.7 kB / 20.78 MB, free: 1.535 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.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.956/2.956, allocations: 476.7 MB / 0.7629 GB, free: 15.13 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.PIDScale,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.88 kB / 1.107 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003164/1.121, allocations: 2.089 MB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002506/1.123, allocations: 1.612 MB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003533/1.123, allocations: 7.75 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/1.124, allocations: 90.3 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002358/1.124, allocations: 81.42 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009613/1.125, allocations: 342.8 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008286/1.126, allocations: 0.6871 MB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/1.126, allocations: 236.7 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/1.127, allocations: 261.3 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/1.127, allocations: 283.6 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/1.127, allocations: 76.31 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/1.127, allocations: 89.83 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/1.127, allocations: 152.6 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/1.128, allocations: 304.5 kB / 1.278 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/1.129, allocations: 0.8225 MB / 1.279 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.129, allocations: 0.7969 kB / 1.279 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/1.129, allocations: 0 / 1.279 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.129, allocations: 0.7188 kB / 1.279 GB, free: 3.211 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001603/1.13, allocations: 0.9181 MB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.13, allocations: 10.72 kB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.182e-05/1.131, allocations: 91.08 kB / 1.279 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/1.131, allocations: 72.25 kB / 1.28 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/1.131, allocations: 418.1 kB / 1.28 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/1.131, allocations: 41.59 kB / 1.28 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/1.131, allocations: 58.78 kB / 1.28 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009639/1.132, allocations: 0.4885 MB / 1.281 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/1.132, allocations: 3.938 kB / 1.281 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/1.132, allocations: 26.42 kB / 1.281 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/1.132, allocations: 11.41 kB / 1.281 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/1.133, allocations: 349.2 kB / 1.281 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/1.136, allocations: 1.548 MB / 1.282 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/1.136, allocations: 0.8431 MB / 1.283 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/1.137, allocations: 219 kB / 1.283 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/1.137, allocations: 9.656 kB / 1.283 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/1.137, allocations: 244.8 kB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/1.137, allocations: 0 / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=47): time 0.001141/1.139, allocations: 0.5238 MB / 1.284 GB, free: 15.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/1.139, allocations: 114.6 kB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/1.139, allocations: 389.4 kB / 1.285 GB, free: 15.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/1.139, allocations: 39.14 kB / 1.285 GB, free: 15.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/1.139, allocations: 255.4 kB / 1.285 GB, free: 15.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/1.14, allocations: 167.3 kB / 1.285 GB, free: 14.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/1.14, allocations: 96.36 kB / 1.285 GB, free: 14.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.14, allocations: 359.2 kB / 1.286 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/1.14, allocations: 184.4 kB / 1.286 GB, free: 14.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/1.141, allocations: 283.2 kB / 1.286 GB, free: 14.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/1.142, allocations: 433.4 kB / 1.286 GB, free: 14.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.142, allocations: 0 / 1.286 GB, free: 14.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001154/1.143, allocations: 0.5789 MB / 1.287 GB, free: 13.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/1.143, allocations: 35.89 kB / 1.287 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.143, allocations: 2.969 kB / 1.287 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.143, allocations: 7.625 kB / 1.287 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/1.143, allocations: 95.48 kB / 1.287 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.143, allocations: 3.438 kB / 1.287 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/1.144, allocations: 86.64 kB / 1.287 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/1.144, allocations: 25.53 kB / 1.287 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004735/1.144, allocations: 283.6 kB / 1.288 GB, free: 13.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004068/1.145, allocations: 255.1 kB / 1.288 GB, free: 13.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005843/1.145, allocations: 395.2 kB / 1.288 GB, free: 13.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/1.145, allocations: 0 / 1.288 GB, free: 13.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009133/1.146, allocations: 0.52 MB / 1.289 GB, free: 12.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.146, allocations: 43.52 kB / 1.289 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.146, allocations: 7.031 kB / 1.289 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/1.146, allocations: 4.938 kB / 1.289 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/1.146, allocations: 88.02 kB / 1.289 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.147, allocations: 8.375 kB / 1.289 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/1.147, allocations: 72.75 kB / 1.289 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/1.147, allocations: 21.53 kB / 1.289 GB, free: 12.73 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0002025/1.147, allocations: 215.7 kB / 1.289 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/1.147, allocations: 48.12 kB / 1.289 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008703/1.148, allocations: 424.6 kB / 1.29 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.148, allocations: 5.438 kB / 1.29 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.148, allocations: 3.938 kB / 1.29 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.148, allocations: 6.703 kB / 1.29 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/1.15, allocations: 1.142 MB / 1.291 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.15, allocations: 2.5 kB / 1.291 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/1.15, allocations: 80.67 kB / 1.291 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/1.15, allocations: 8.422 kB / 1.291 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/1.15, allocations: 16.27 kB / 1.291 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/1.15, allocations: 11.42 kB / 1.291 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.15, allocations: 0 / 1.291 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/1.152, allocations: 0.7238 MB / 1.291 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/1.152, allocations: 133.8 kB / 1.292 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/1.152, allocations: 13.41 kB / 1.292 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/1.152, allocations: 29.66 kB / 1.292 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/1.152, allocations: 30.11 kB / 1.292 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/1.152, allocations: 11.73 kB / 1.292 GB, free: 11.01 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003414/1.152, allocations: 274 kB / 1.292 GB, free: 10.87 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.152, allocations: 5.906 kB / 1.292 GB, free: 10.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006899/1.153, allocations: 193.3 kB / 1.292 GB, free: 10.81 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$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 (47): * Single equations (assignments): 46 * 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.001614/1.155, allocations: 1.301 MB / 1.293 GB, free: 9.848 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001564/1.156, allocations: 0.7236 MB / 1.294 GB, free: 9.508 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.156, allocations: 0 / 1.294 GB, free: 9.508 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003253/1.157, allocations: 183.3 kB / 1.294 GB, free: 9.449 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/1.157, allocations: 101.6 kB / 1.294 GB, free: 9.402 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/1.165, allocations: 4.363 MB / 1.299 GB, free: 6.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/1.166, allocations: 0.8481 MB / 1.299 GB, free: 6.059 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003037/1.166, allocations: 54.42 kB / 1.3 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/1.166, allocations: 187.7 kB / 1.3 GB, free: 5.914 MB / 1.014 GB Notification: Performance of SimCode: time 1.453e-06/1.166, allocations: 0 / 1.3 GB, free: 5.914 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/1.207, allocations: 10.2 MB / 1.31 GB, free: 4.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.346/10.55, allocations: 4.219 kB / 1.31 GB, free: 4.93 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.167141799000092] Failed to read output from testmodel.py, exit status != 0: 10.627807568002027 10.644091378 9.512071829 Calling exit ...