Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 8 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.8621, allocations: 153.6 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005298/0.8675, allocations: 4.663 MB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00348/0.871, allocations: 1.658 MB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.8721, allocations: 31.88 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.8724, allocations: 110.7 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008662/0.8733, allocations: 247 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.8744, allocations: 454.4 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.8758, allocations: 0.9337 MB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000701/0.8765, allocations: 0.5263 MB / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.8769, allocations: 346.1 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.8773, allocations: 401.4 kB / 1.03 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/0.8773, allocations: 36 kB / 1.03 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.8775, allocations: 47.98 kB / 1.03 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.8776, allocations: 175.1 kB / 1.03 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.8778, allocations: 221 kB / 1.03 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.8791, allocations: 1.424 MB / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8791, allocations: 0 / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8791, allocations: 0 / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.8791, allocations: 0 / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002664/0.8818, allocations: 1.529 MB / 1.033 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8819, allocations: 8.031 kB / 1.033 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.8821, allocations: 154.1 kB / 1.033 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.8832, allocations: 0.7115 MB / 1.034 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/0.8833, allocations: 82.17 kB / 1.034 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.8835, allocations: 120 kB / 1.034 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.8853, allocations: 1.093 MB / 1.035 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.8853, allocations: 0 / 1.035 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/0.8854, allocations: 44 kB / 1.035 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.8855, allocations: 28 kB / 1.035 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.8871, allocations: 0.8511 MB / 1.036 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005184/0.8923, allocations: 3.944 MB / 1.04 GB, free: 12.98 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.8946, allocations: 1.057 MB / 1.041 GB, free: 11.92 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.8947, allocations: 12.66 kB / 1.041 GB, free: 11.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008271/0.8955, allocations: 436.8 kB / 1.042 GB, free: 11.47 MB / 0.795 GB Notification: Performance of pre-optimization done (n=84): time 2.886e-06/0.8955, allocations: 3.938 kB / 1.042 GB, free: 11.47 MB / 0.795 GB Notification: Performance of matching and sorting (n=84): time 0.002175/0.8977, allocations: 1.109 MB / 1.043 GB, free: 10.36 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.8978, allocations: 214.6 kB / 1.043 GB, free: 10.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.8989, allocations: 0.8565 MB / 1.044 GB, free: 9.219 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/0.899, allocations: 45.7 kB / 1.044 GB, free: 9.168 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.8994, allocations: 0.5542 MB / 1.044 GB, free: 8.605 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.8996, allocations: 279.8 kB / 1.045 GB, free: 8.328 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.8997, allocations: 24 kB / 1.045 GB, free: 8.305 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8998, allocations: 337.9 kB / 1.045 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/0.9005, allocations: 357.8 kB / 1.045 GB, free: 7.617 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000858/0.9014, allocations: 0.5833 MB / 1.046 GB, free: 6.938 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007885/0.9022, allocations: 444.5 kB / 1.046 GB, free: 6.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.9022, allocations: 4 kB / 1.046 GB, free: 6.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002177/0.9044, allocations: 1.099 MB / 1.047 GB, free: 5.383 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008087/0.9052, allocations: 1.696 MB / 1.049 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.9052, allocations: 8 kB / 1.049 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.9053, allocations: 8 kB / 1.049 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/0.9061, allocations: 219.6 kB / 1.049 GB, free: 3.324 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.9061, allocations: 11.94 kB / 1.049 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008392/0.9069, allocations: 202.9 kB / 1.049 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.907, allocations: 39.98 kB / 1.049 GB, free: 3.074 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.907, allocations: 4 kB / 1.049 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/0.9082, allocations: 0.8097 MB / 1.05 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.9082, allocations: 4 kB / 1.05 GB, free: 2.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.9082, allocations: 12 kB / 1.05 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.9088, allocations: 167.8 kB / 1.05 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.9088, allocations: 15.89 kB / 1.05 GB, free: 2.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.9095, allocations: 155.6 kB / 1.051 GB, free: 1.902 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.9096, allocations: 36 kB / 1.051 GB, free: 1.867 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * 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.0005491/0.9101, allocations: 340.9 kB / 1.051 GB, free: 1.523 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.9102, allocations: 110.6 kB / 1.051 GB, free: 1.414 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.9104, allocations: 110.9 kB / 1.051 GB, free: 1.301 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.9104, allocations: 8 kB / 1.051 GB, free: 1.293 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.9105, allocations: 3.953 kB / 1.051 GB, free: 1.289 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.9105, allocations: 7.984 kB / 1.051 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.9116, allocations: 0.9787 MB / 1.052 GB, free: 260 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.9116, allocations: 4 kB / 1.052 GB, free: 256 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/0.9122, allocations: 167.8 kB / 1.052 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.9123, allocations: 4 kB / 1.052 GB, free: 84 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.9123, allocations: 19.98 kB / 1.052 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.9123, allocations: 4 kB / 1.052 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9123, allocations: 4 kB / 1.052 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.9145, allocations: 1.265 MB / 1.054 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.9147, allocations: 191.6 kB / 1.054 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.466e-05/0.9148, allocations: 16 kB / 1.054 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.9152, allocations: 75.94 kB / 1.054 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.9153, allocations: 48.94 kB / 1.054 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.9154, allocations: 23.98 kB / 1.054 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006879/0.9161, allocations: 0.5828 MB / 1.054 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9161, allocations: 0 / 1.054 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001012/0.9171, allocations: 410.3 kB / 1.055 GB, free: 13.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002159/0.9173, allocations: 131.1 kB / 1.055 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00235/0.9197, allocations: 1.393 MB / 1.056 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9197, allocations: 0.625 kB / 1.056 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00069/0.9204, allocations: 393.6 kB / 1.057 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009454/0.9213, allocations: 230.6 kB / 1.057 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.9246, allocations: 2.282 MB / 1.059 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/0.9252, allocations: 1.101 MB / 1.06 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00051/0.9258, allocations: 127.9 kB / 1.06 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.9259, allocations: 71.42 kB / 1.06 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of SimCode: time 7.21e-07/0.926, allocations: 4 kB / 1.06 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of Templates: time 0.02041/0.9464, allocations: 11.07 MB / 1.071 GB, free: 12.66 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches