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.LimPID.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_m|limPIDOri.y|limPID.u_s|noLimPID.y|limPID.y|limPD.y|limP.y|limPI.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_m|limPIDOri.y|limPID.u_s|noLimPID.y|limPID.y|limPD.y|limP.y|limPI.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.000986/0.000986, allocations: 174.1 kB / 321.3 MB, free: 14.64 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.42/1.42, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008607/0.0008608, allocations: 82.48 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.329e-05, allocations: 11.98 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2044, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.707/0.9115, allocations: 134.5 MB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/0.912, allocations: 75.58 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05559/0.9676, allocations: 21.85 MB / 1.045 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9676, allocations: 0 / 1.045 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.807e-05/0.9677, allocations: 35.92 kB / 1.045 GB, free: 13.78 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002302/0.9701, allocations: 1.306 MB / 1.046 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.9701, allocations: 8.031 kB / 1.046 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.9704, allocations: 154.1 kB / 1.046 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.9718, allocations: 0.7733 MB / 1.047 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.9719, allocations: 79.2 kB / 1.047 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.972, allocations: 113.5 kB / 1.047 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.9737, allocations: 0.9957 MB / 1.048 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.9737, allocations: 3.938 kB / 1.048 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.9738, allocations: 45.38 kB / 1.048 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.9738, allocations: 28 kB / 1.048 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.975, allocations: 0.7023 MB / 1.049 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005099/0.9801, allocations: 3.945 MB / 1.053 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.9818, allocations: 0.8826 MB / 1.053 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.9823, allocations: 376.8 kB / 1.054 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.702e-05/0.9824, allocations: 16.77 kB / 1.054 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/0.983, allocations: 368.6 kB / 1.054 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.077e-06/0.983, allocations: 0 / 1.054 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.001171/0.9842, allocations: 0.6714 MB / 1.055 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.9843, allocations: 218.3 kB / 1.055 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009728/0.9853, allocations: 0.7614 MB / 1.056 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.9854, allocations: 47.7 kB / 1.056 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.9858, allocations: 0.5318 MB / 1.056 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.986, allocations: 301.1 kB / 1.057 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.9861, allocations: 17.75 kB / 1.057 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.9863, allocations: 339.2 kB / 1.057 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.9867, allocations: 249.4 kB / 1.057 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.9872, allocations: 404.3 kB / 1.058 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.9877, allocations: 298.7 kB / 1.058 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9877, allocations: 4 kB / 1.058 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001272/0.989, allocations: 0.7935 MB / 1.059 GB, free: 2.379 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.9892, allocations: 450.2 kB / 1.059 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.9892, allocations: 4 kB / 1.059 GB, free: 1.914 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.9892, allocations: 4 kB / 1.059 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/0.9901, allocations: 218.9 kB / 1.059 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.9902, allocations: 4 kB / 1.059 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/0.9908, allocations: 161.7 kB / 1.059 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.9909, allocations: 30.55 kB / 1.059 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.9909, allocations: 4 kB / 1.059 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009616/0.9919, allocations: 0.636 MB / 1.06 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.9919, allocations: 8.109 kB / 1.06 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.9919, allocations: 7.953 kB / 1.06 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/0.9925, allocations: 162.7 kB / 1.06 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.9926, allocations: 11.94 kB / 1.06 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.9931, allocations: 118.2 kB / 1.06 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.9931, allocations: 31.23 kB / 1.06 GB, free: 0.8008 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: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0001844/0.9933, allocations: 153 kB / 1.061 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.9935, allocations: 110.6 kB / 1.061 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.9938, allocations: 122 kB / 1.061 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.9938, allocations: 15.95 kB / 1.061 GB, free: 496 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.9938, allocations: 0 / 1.061 GB, free: 496 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.9938, allocations: 11.92 kB / 1.061 GB, free: 484 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.995, allocations: 0.993 MB / 1.062 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.995, allocations: 0 / 1.062 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.9958, allocations: 190.6 kB / 1.062 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.9958, allocations: 4 kB / 1.062 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.9958, allocations: 14.62 kB / 1.062 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.9958, allocations: 4 kB / 1.062 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.9958, allocations: 7.938 kB / 1.062 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.9973, allocations: 1.058 MB / 1.063 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.9975, allocations: 201 kB / 1.063 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.9977, allocations: 16.19 kB / 1.063 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.9982, allocations: 86.12 kB / 1.063 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.9983, allocations: 55.66 kB / 1.063 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.9983, allocations: 31.17 kB / 1.063 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007213/0.9991, allocations: 0.5934 MB / 1.064 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.472e-06/0.9991, allocations: 0 / 1.064 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008043/0.9999, allocations: 386.5 kB / 1.064 GB, free: 13.64 MB / 0.6823 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002219/1, allocations: 135.7 kB / 1.064 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001526/1.002, allocations: 1.031 MB / 1.065 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.002, allocations: 3.938 kB / 1.065 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/1.002, allocations: 332.9 kB / 1.066 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009847/1.003, allocations: 239.2 kB / 1.066 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/1.006, allocations: 1.407 MB / 1.067 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/1.006, allocations: 1.107 MB / 1.068 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008088/1.007, allocations: 184.4 kB / 1.069 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/1.007, allocations: 67.36 kB / 1.069 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/1.007, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of Templates: time 0.0226/1.03, allocations: 12.05 MB / 1.08 GB, free: 13.82 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LimPID.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches