Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.3 MB / 261.9 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 178.6 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008877/0.0008877, allocations: 100.3 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.516e-05/4.518e-05, allocations: 12 kB / 0.7881 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2442, allocations: 106.3 MB / 0.8919 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8341/1.078, allocations: 134.5 MB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/1.079, allocations: 79.2 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04788/1.127, allocations: 18.5 MB / 1.041 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/1.127, allocations: 0 / 1.041 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001171/1.127, allocations: 24 kB / 1.041 GB, free: 0.5312 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.002561/1.129, allocations: 1.129 MB / 1.043 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/1.129, allocations: 16.02 kB / 1.043 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003494/1.13, allocations: 145.1 kB / 1.043 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004961/1.13, allocations: 134.4 kB / 1.043 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/1.132, allocations: 0.6388 MB / 1.043 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/1.132, allocations: 78.17 kB / 1.044 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/1.132, allocations: 105.9 kB / 1.044 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/1.134, allocations: 0.904 MB / 1.045 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/1.134, allocations: 0 / 1.045 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/1.134, allocations: 40.23 kB / 1.045 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/1.134, allocations: 28 kB / 1.045 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/1.136, allocations: 0.5965 MB / 1.045 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005664/1.141, allocations: 3.414 MB / 1.049 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/1.143, allocations: 0.6328 MB / 1.049 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/1.143, allocations: 342.9 kB / 1.049 GB, free: 9.945 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/1.143, allocations: 8.781 kB / 1.049 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005766/1.144, allocations: 317 kB / 1.05 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 6.442e-06/1.144, allocations: 0 / 1.05 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.001099/1.145, allocations: 0.5725 MB / 1.05 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.145, allocations: 170.3 kB / 1.05 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009381/1.146, allocations: 0.5836 MB / 1.051 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/1.146, allocations: 39.45 kB / 1.051 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/1.146, allocations: 470.1 kB / 1.052 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/1.147, allocations: 263 kB / 1.052 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/1.147, allocations: 13.69 kB / 1.052 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.147, allocations: 331.5 kB / 1.052 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/1.147, allocations: 204.9 kB / 1.052 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/1.148, allocations: 329.2 kB / 1.053 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/1.148, allocations: 243 kB / 1.053 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.149, allocations: 0 / 1.053 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001256/1.15, allocations: 0.651 MB / 1.053 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/1.15, allocations: 455.1 kB / 1.054 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.15, allocations: 0 / 1.054 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/1.15, allocations: 15.95 kB / 1.054 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/1.151, allocations: 162.5 kB / 1.054 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.151, allocations: 4 kB / 1.054 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/1.151, allocations: 113.2 kB / 1.054 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/1.151, allocations: 27.48 kB / 1.054 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.151, allocations: 5.719 kB / 1.054 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008396/1.152, allocations: 0.534 MB / 1.055 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/1.152, allocations: 128 / 1.055 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/1.152, allocations: 12 kB / 1.055 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/1.153, allocations: 139.4 kB / 1.055 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.153, allocations: 4 kB / 1.055 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/1.153, allocations: 82.47 kB / 1.055 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/1.153, allocations: 22.81 kB / 1.055 GB, free: 5.375 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0002083/1.154, allocations: 152.5 kB / 1.055 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/1.154, allocations: 86.95 kB / 1.055 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/1.154, allocations: 94.84 kB / 1.055 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.154, allocations: 8 kB / 1.055 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.154, allocations: 0 / 1.055 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.154, allocations: 3.984 kB / 1.055 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/1.156, allocations: 1.598 MB / 1.057 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.156, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/1.157, allocations: 154.8 kB / 1.057 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/1.157, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/1.157, allocations: 19.17 kB / 1.057 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.157, allocations: 4 kB / 1.057 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.157, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.159, allocations: 0.9763 MB / 1.058 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/1.159, allocations: 170.4 kB / 1.058 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/1.159, allocations: 18.5 kB / 1.058 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/1.159, allocations: 53.34 kB / 1.058 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/1.16, allocations: 42.97 kB / 1.058 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/1.16, allocations: 23.3 kB / 1.058 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009291/1.161, allocations: 462.5 kB / 1.059 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.21e-07/1.161, allocations: 0 / 1.059 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001373/1.162, allocations: 330.3 kB / 1.059 GB, free: 2.141 MB / 0.6667 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: 2 (greEquThr.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.00289/1.165, allocations: 1.553 MB / 1.061 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002544/1.167, allocations: 0.8568 MB / 1.061 GB, free: 268 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.167, allocations: 0 / 1.061 GB, free: 268 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007282/1.168, allocations: 284.7 kB / 1.062 GB, free: 68 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/1.17, allocations: 195.2 kB / 1.062 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/1.175, allocations: 1.453 MB / 1.063 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009666/1.176, allocations: 1.046 MB / 1.064 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001265/1.177, allocations: 146.4 kB / 1.064 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007115/1.178, allocations: 383.7 kB / 1.065 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of SimCode: time 1.864e-06/1.178, allocations: 0 / 1.065 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05423/1.232, allocations: 16.87 MB / 1.081 GB, free: 12.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/1.232, allocations: 180.1 kB / 1.081 GB, free: 12.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.769, allocations: 0 / 1.081 GB, free: 12.44 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)