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.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.922 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.0009559/0.0009559, allocations: 187.5 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008843/0.0008843, allocations: 111.7 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.605e-05, allocations: 11.98 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1988, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6885/0.8874, allocations: 134.8 MB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.8877, allocations: 79.64 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04538/0.933, allocations: 18.37 MB / 1.035 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9331, allocations: 224 / 1.035 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001017/0.9332, allocations: 20 kB / 1.035 GB, free: 3.301 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.002307/0.9355, allocations: 1.137 MB / 1.036 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.9356, allocations: 8.031 kB / 1.036 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003831/0.936, allocations: 134.2 kB / 1.036 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.9372, allocations: 0.6482 MB / 1.037 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.9373, allocations: 32 kB / 1.037 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.9374, allocations: 59.91 kB / 1.037 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001073/0.9385, allocations: 0.5335 MB / 1.038 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.9398, allocations: 0.7605 MB / 1.038 GB, free: 468 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.9398, allocations: 3.938 kB / 1.038 GB, free: 464 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.9399, allocations: 4 kB / 1.038 GB, free: 460 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.9399, allocations: 24 kB / 1.038 GB, free: 436 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004506/0.9445, allocations: 3.226 MB / 1.041 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009104/0.9454, allocations: 0.604 MB / 1.042 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.9459, allocations: 316.5 kB / 1.042 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.9459, allocations: 12.77 kB / 1.042 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004739/0.9464, allocations: 296.5 kB / 1.043 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/0.9464, allocations: 0 / 1.043 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.0009821/0.9474, allocations: 0.5258 MB / 1.043 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.9475, allocations: 166.9 kB / 1.043 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/0.9482, allocations: 0.4899 MB / 1.044 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.9482, allocations: 25.7 kB / 1.044 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.9485, allocations: 473.6 kB / 1.044 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.9488, allocations: 256.9 kB / 1.044 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.9488, allocations: 4 kB / 1.045 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.9489, allocations: 333.9 kB / 1.045 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.9493, allocations: 188.2 kB / 1.045 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.9497, allocations: 315.2 kB / 1.045 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.9501, allocations: 219.6 kB / 1.046 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9501, allocations: 0 / 1.046 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001041/0.9512, allocations: 0.598 MB / 1.046 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002823/0.9515, allocations: 455 kB / 1.047 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9515, allocations: 0 / 1.047 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.9515, allocations: 4 kB / 1.047 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.9522, allocations: 166.2 kB / 1.047 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.9522, allocations: 11.95 kB / 1.047 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.9527, allocations: 91.47 kB / 1.047 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.9527, allocations: 26.61 kB / 1.047 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.9528, allocations: 4 kB / 1.047 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007218/0.9535, allocations: 484.2 kB / 1.047 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.9535, allocations: 0 / 1.047 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.9535, allocations: 4 kB / 1.047 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.954, allocations: 131.3 kB / 1.047 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.954, allocations: 8 kB / 1.047 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.9544, allocations: 63.53 kB / 1.047 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.9545, allocations: 25.81 kB / 1.048 GB, free: 8.816 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.0001689/0.9547, allocations: 121.6 kB / 1.048 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007709/0.9555, allocations: 0.5098 MB / 1.048 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.9556, allocations: 78.97 kB / 1.048 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.9558, allocations: 86.44 kB / 1.048 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.9558, allocations: 8 kB / 1.048 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.9558, allocations: 0 / 1.048 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.9559, allocations: 3.984 kB / 1.048 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.9578, allocations: 1.431 MB / 1.05 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9578, allocations: 0 / 1.05 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.9585, allocations: 139.8 kB / 1.05 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.9585, allocations: 7.984 kB / 1.05 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.9585, allocations: 3.875 kB / 1.05 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.9586, allocations: 8 kB / 1.05 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9586, allocations: 3.938 kB / 1.05 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.9597, allocations: 0.9141 MB / 1.051 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.9599, allocations: 163.9 kB / 1.051 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.96, allocations: 3.938 kB / 1.051 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.9603, allocations: 43.03 kB / 1.051 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.9604, allocations: 40.66 kB / 1.051 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.9605, allocations: 23.86 kB / 1.051 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004375/0.9609, allocations: 377.1 kB / 1.051 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9609, allocations: 0 / 1.051 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000771/0.9617, allocations: 302.3 kB / 1.052 GB, free: 5.461 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.001473/0.9632, allocations: 1.469 MB / 1.053 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.9644, allocations: 0.8042 MB / 1.054 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.9644, allocations: 4.5 kB / 1.054 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.9647, allocations: 271.5 kB / 1.054 GB, free: 3.508 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00083/0.9656, allocations: 181.8 kB / 1.054 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.9681, allocations: 1.369 MB / 1.056 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/0.9687, allocations: 1.046 MB / 1.057 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005834/0.9693, allocations: 130 kB / 1.057 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.9697, allocations: 378.4 kB / 1.057 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of SimCode: time 8.82e-07/0.9697, allocations: 0 / 1.057 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/1.014, allocations: 15.29 MB / 1.072 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/1.015, allocations: 159.9 kB / 1.072 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.275, allocations: 3.938 kB / 1.072 GB, free: 1.457 MB / 0.6823 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)