Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 172.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008662/0.0008665, allocations: 93.59 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.207e-05, allocations: 8 kB / 0.8519 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8708, allocations: 115.3 MB / 0.9645 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.267/1.138, allocations: 138.8 MB / 1.1 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/1.138, allocations: 78.16 kB / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03916/1.177, allocations: 13.65 MB / 1.113 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.177, allocations: 0 / 1.113 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.531e-05/1.178, allocations: 24 kB / 1.113 GB, free: 3.363 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002382/1.18, allocations: 1.03 MB / 1.114 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.18, allocations: 8.031 kB / 1.114 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/1.18, allocations: 119.7 kB / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/1.182, allocations: 0.5938 MB / 1.115 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/1.182, allocations: 28 kB / 1.115 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/1.182, allocations: 55.91 kB / 1.115 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/1.183, allocations: 488 kB / 1.116 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/1.185, allocations: 0.6676 MB / 1.116 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/1.185, allocations: 0 / 1.116 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/1.185, allocations: 7.984 kB / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/1.185, allocations: 20 kB / 1.116 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/1.189, allocations: 2.325 MB / 1.119 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.19, allocations: 1.196 MB / 1.12 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/1.191, allocations: 288.4 kB / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/1.191, allocations: 8.562 kB / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005311/1.191, allocations: 278 kB / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.398e-06/1.191, allocations: 0 / 1.12 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.0009119/1.192, allocations: 474.1 kB / 1.121 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/1.192, allocations: 162.8 kB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/1.193, allocations: 418.2 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/1.193, allocations: 29.7 kB / 1.121 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/1.194, allocations: 408.1 kB / 1.122 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/1.194, allocations: 224.5 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/1.194, allocations: 4 kB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002022/1.194, allocations: 382.8 kB / 1.122 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/1.194, allocations: 157.6 kB / 1.122 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/1.195, allocations: 259.6 kB / 1.123 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/1.195, allocations: 200.4 kB / 1.123 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.195, allocations: 0 / 1.123 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008487/1.196, allocations: 0.5111 MB / 1.123 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/1.196, allocations: 185.1 kB / 1.124 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.196, allocations: 9.344 kB / 1.124 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.196, allocations: 0 / 1.124 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/1.197, allocations: 147.8 kB / 1.124 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.197, allocations: 4 kB / 1.124 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/1.197, allocations: 79.55 kB / 1.124 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/1.197, allocations: 23.98 kB / 1.124 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.197, allocations: 4.938 kB / 1.124 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006511/1.198, allocations: 394.6 kB / 1.124 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.198, allocations: 9.406 kB / 1.124 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-06/1.198, allocations: 0 / 1.124 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/1.198, allocations: 119.8 kB / 1.124 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.198, allocations: 5.719 kB / 1.124 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/1.199, allocations: 51.52 kB / 1.124 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/1.199, allocations: 23.98 kB / 1.124 GB, free: 7.613 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/1.199, allocations: 123.7 kB / 1.125 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007277/1.2, allocations: 454.3 kB / 1.125 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/1.2, allocations: 75.09 kB / 1.125 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/1.2, allocations: 70.55 kB / 1.125 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.2, allocations: 8 kB / 1.125 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.2, allocations: 1.812 kB / 1.125 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.2, allocations: 0 / 1.125 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/1.202, allocations: 1.348 MB / 1.126 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.202, allocations: 0 / 1.126 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/1.203, allocations: 139.8 kB / 1.127 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/1.203, allocations: 4 kB / 1.127 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/1.203, allocations: 0 / 1.127 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.203, allocations: 4 kB / 1.127 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.203, allocations: 0 / 1.127 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/1.204, allocations: 0.8155 MB / 1.127 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/1.204, allocations: 144.1 kB / 1.128 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/1.204, allocations: 8 kB / 1.128 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/1.205, allocations: 43.95 kB / 1.128 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/1.205, allocations: 41.02 kB / 1.128 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/1.205, allocations: 23.98 kB / 1.128 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004513/1.205, allocations: 319 kB / 1.128 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/1.205, allocations: 0 / 1.128 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009864/1.206, allocations: 266.4 kB / 1.128 GB, free: 3.668 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001906/1.208, allocations: 1.384 MB / 1.13 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.21, allocations: 0.6806 MB / 1.13 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.21, allocations: 4 kB / 1.13 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/1.21, allocations: 239.8 kB / 1.13 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007522/1.211, allocations: 110.1 kB / 1.131 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/1.214, allocations: 1.227 MB / 1.132 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/1.214, allocations: 1.006 MB / 1.133 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005299/1.215, allocations: 107.8 kB / 1.133 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/1.215, allocations: 331.3 kB / 1.133 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of SimCode: time 9.21e-07/1.215, allocations: 4 kB / 1.133 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/1.258, allocations: 12.83 MB / 1.146 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/1.259, allocations: 158.2 kB / 1.146 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.878, allocations: 0 / 1.146 GB, free: 1.754 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)