Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009183/0.009183, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.933/1.933, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005819/0.000582, allocations: 17.44 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3555, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.002151/0.3577, allocations: 1.484 MB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.3601, allocations: 1.214 MB / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.3607, allocations: 4 kB / 0.7905 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.361, allocations: 47.52 kB / 0.7906 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.3616, allocations: 51.64 kB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.3621, allocations: 135.9 kB / 0.7908 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.3629, allocations: 440.9 kB / 0.7912 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.3634, allocations: 226.3 kB / 0.7914 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.3636, allocations: 107.3 kB / 0.7915 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.3639, allocations: 143 kB / 0.7916 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.364, allocations: 8 kB / 0.7916 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.364, allocations: 12 kB / 0.7917 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.3641, allocations: 51.7 kB / 0.7917 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.3643, allocations: 176.5 kB / 0.7919 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.3648, allocations: 0.4905 MB / 0.7924 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3648, allocations: 0 / 0.7924 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3648, allocations: 0 / 0.7924 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.3649, allocations: 4 kB / 0.7924 GB, free: 6.984 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001379/0.3663, allocations: 0.6665 MB / 0.793 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3663, allocations: 8.031 kB / 0.793 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3665, allocations: 52.31 kB / 0.7931 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.367, allocations: 363.8 kB / 0.7934 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.3671, allocations: 25.03 kB / 0.7934 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.3672, allocations: 36.36 kB / 0.7935 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.3679, allocations: 362.5 kB / 0.7938 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.3679, allocations: 192 / 0.7938 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.368, allocations: 19.94 kB / 0.7938 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.368, allocations: 8 kB / 0.7938 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.3686, allocations: 274.4 kB / 0.7941 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.371, allocations: 1.271 MB / 0.7953 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.3716, allocations: 222.8 kB / 0.7956 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.3719, allocations: 100.9 kB / 0.7957 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.3719, allocations: 11.92 kB / 0.7957 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.372, allocations: 34.55 kB / 0.7957 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.372, allocations: 0 / 0.7957 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007361/0.3727, allocations: 288.3 kB / 0.796 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.3728, allocations: 102.8 kB / 0.7961 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.3733, allocations: 417.6 kB / 0.7965 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.3734, allocations: 29.7 kB / 0.7965 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3736, allocations: 239.9 kB / 0.7967 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.3737, allocations: 55.2 kB / 0.7968 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.3737, allocations: 29.7 kB / 0.7968 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3739, allocations: 350.7 kB / 0.7971 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.3742, allocations: 104 kB / 0.7972 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.3745, allocations: 201.2 kB / 0.7974 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.3751, allocations: 252.6 kB / 0.7977 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3751, allocations: 0 / 0.7977 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006875/0.3758, allocations: 340.9 kB / 0.798 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.3759, allocations: 130.2 kB / 0.7981 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.3759, allocations: 7.984 kB / 0.7981 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.376, allocations: 4 kB / 0.7981 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.3762, allocations: 68 kB / 0.7982 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.3763, allocations: 7.938 kB / 0.7982 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3765, allocations: 55.59 kB / 0.7983 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.3766, allocations: 8 kB / 0.7983 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3766, allocations: 11.12 kB / 0.7983 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003644/0.377, allocations: 223.7 kB / 0.7985 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.377, allocations: 0 / 0.7985 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.405e-06/0.377, allocations: 4 kB / 0.7985 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3772, allocations: 51.92 kB / 0.7985 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3772, allocations: 4 kB / 0.7985 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.3774, allocations: 43.83 kB / 0.7986 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3774, allocations: 8 kB / 0.7986 GB, free: 256 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002605/0.3777, allocations: 229 kB / 0.7988 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3778, allocations: 35.7 kB / 0.7989 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.3779, allocations: 43.23 kB / 0.7989 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3779, allocations: 0 / 0.7989 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.378, allocations: 0 / 0.7989 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.378, allocations: 0 / 0.7989 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.3794, allocations: 0.7059 MB / 0.7996 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3794, allocations: 0 / 0.7996 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.3796, allocations: 39.91 kB / 0.7996 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.3796, allocations: 4 kB / 0.7996 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.3796, allocations: 4 kB / 0.7996 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3796, allocations: 4 kB / 0.7996 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3796, allocations: 3.984 kB / 0.7996 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.3804, allocations: 428.6 kB / 0.8 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.3805, allocations: 116.6 kB / 0.8002 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.3806, allocations: 4 kB / 0.8002 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.3807, allocations: 23.98 kB / 0.8002 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3808, allocations: 15.86 kB / 0.8002 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3808, allocations: 8 kB / 0.8002 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003426/0.3812, allocations: 291.2 kB / 0.8005 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.71e-07/0.3812, allocations: 0 / 0.8005 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004863/0.3817, allocations: 115.5 kB / 0.8006 GB, free: 14.09 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001801/0.3818, allocations: 107.2 kB / 0.8007 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007102/0.3826, allocations: 352.1 kB / 0.801 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3826, allocations: 0 / 0.801 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.3828, allocations: 83.91 kB / 0.8011 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006553/0.3834, allocations: 65.77 kB / 0.8012 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3849, allocations: 0.7944 MB / 0.8019 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.3854, allocations: 0.796 MB / 0.8027 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.3856, allocations: 43.06 kB / 0.8028 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/0.3857, allocations: 27.44 kB / 0.8028 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/0.3857, allocations: 0 / 0.8028 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.008413/0.3941, allocations: 3.119 MB / 0.8058 GB, free: 8.688 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) Environment - environmentSimulation: