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.444/1.444, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 187.8 kB / 326.5 MB, free: 2.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 2.068/2.068, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008416/0.0008415, allocations: 97.92 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 12.06 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2581, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.4452, allocations: 134.6 MB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.4456, allocations: 91.94 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04901/0.4946, allocations: 18.53 MB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4946, allocations: 0 / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001016/0.4947, allocations: 24 kB / 1.05 GB, free: 6.367 MB / 0.698 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.002904/0.4977, allocations: 1.281 MB / 1.051 GB, free: 5.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4977, allocations: 8.031 kB / 1.051 GB, free: 5.023 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003224/0.498, allocations: 148 kB / 1.051 GB, free: 4.871 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.4985, allocations: 134.4 kB / 1.051 GB, free: 4.738 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.4998, allocations: 0.645 MB / 1.052 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.4999, allocations: 78 kB / 1.052 GB, free: 3.977 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.5, allocations: 103.9 kB / 1.052 GB, free: 3.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.5019, allocations: 0.967 MB / 1.053 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.5019, allocations: 0 / 1.053 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.502, allocations: 43.98 kB / 1.053 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.502, allocations: 24 kB / 1.053 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.5035, allocations: 0.7104 MB / 1.054 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5259/1.029, allocations: 3.412 MB / 1.057 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/1.032, allocations: 0.7542 MB / 1.058 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.598e-05/1.033, allocations: 9.625 kB / 1.058 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/1.034, allocations: 376.1 kB / 1.058 GB, free: 141.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 7.554e-06/1.034, allocations: 0 / 1.058 GB, free: 141.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003317/1.037, allocations: 0.9094 MB / 1.059 GB, free: 141.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/1.037, allocations: 163.5 kB / 1.059 GB, free: 141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/1.039, allocations: 0.5934 MB / 1.06 GB, free: 140.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/1.039, allocations: 41.95 kB / 1.06 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/1.039, allocations: 477.9 kB / 1.06 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/1.04, allocations: 258.1 kB / 1.061 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/1.04, allocations: 14.66 kB / 1.061 GB, free: 140.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.04, allocations: 335.4 kB / 1.061 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008857/1.041, allocations: 258.4 kB / 1.061 GB, free: 140.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009614/1.042, allocations: 393.7 kB / 1.062 GB, free: 140.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/1.043, allocations: 296.2 kB / 1.062 GB, free: 140.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.043, allocations: 0 / 1.062 GB, free: 140.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002489/1.045, allocations: 0.7772 MB / 1.063 GB, free: 140 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/1.045, allocations: 457.6 kB / 1.063 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.045, allocations: 6.891 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/1.045, allocations: 4.516 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.046, allocations: 167.9 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/1.047, allocations: 6.531 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000867/1.047, allocations: 103.8 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/1.047, allocations: 27.83 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.048, allocations: 6.812 kB / 1.063 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001186/1.049, allocations: 0.5482 MB / 1.064 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.049, allocations: 2.969 kB / 1.064 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/1.049, allocations: 3.031 kB / 1.064 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/1.049, allocations: 141.5 kB / 1.064 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/1.049, allocations: 7.641 kB / 1.064 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/1.05, allocations: 84.52 kB / 1.064 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/1.05, allocations: 19.72 kB / 1.064 GB, free: 139.5 MB / 0.698 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 () * Number of clocked 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.0005151/1.05, allocations: 313.3 kB / 1.064 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.051, allocations: 91.42 kB / 1.065 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/1.051, allocations: 98.28 kB / 1.065 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.051, allocations: 8.156 kB / 1.065 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/1.051, allocations: 2.844 kB / 1.065 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/1.051, allocations: 6.562 kB / 1.065 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/1.054, allocations: 1.696 MB / 1.066 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.054, allocations: 1.641 kB / 1.066 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/1.055, allocations: 150.3 kB / 1.066 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.055, allocations: 3.531 kB / 1.066 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/1.055, allocations: 14.06 kB / 1.067 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/1.055, allocations: 3 kB / 1.067 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.055, allocations: 0.6562 kB / 1.067 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/1.058, allocations: 1.143 MB / 1.068 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/1.058, allocations: 168.9 kB / 1.068 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.059, allocations: 11.97 kB / 1.068 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/1.059, allocations: 53.39 kB / 1.068 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.059, allocations: 47.39 kB / 1.068 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/1.059, allocations: 20.11 kB / 1.068 GB, free: 138.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001015/1.06, allocations: 474.3 kB / 1.068 GB, free: 138.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.06, allocations: 5.359 kB / 1.068 GB, free: 138.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001108/1.061, allocations: 327.3 kB / 1.069 GB, free: 138.4 MB / 0.698 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 () * Number of clocked 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.002487/1.064, allocations: 1.725 MB / 1.07 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002143/1.066, allocations: 0.9481 MB / 1.071 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.066, allocations: 0.9062 kB / 1.071 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006564/1.067, allocations: 344.7 kB / 1.072 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.068, allocations: 189 kB / 1.072 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/1.077, allocations: 5.781 MB / 1.077 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/1.078, allocations: 1.046 MB / 1.078 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008357/1.079, allocations: 108.2 kB / 1.079 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007559/1.08, allocations: 394.2 kB / 1.079 GB, free: 134.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.084e-06/1.08, allocations: 0 / 1.079 GB, free: 134.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/1.115, allocations: 15.84 MB / 1.094 GB, free: 132.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.116, allocations: 201.2 kB / 1.095 GB, free: 131.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/3.495, allocations: 0 / 1.095 GB, free: 131.9 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)