Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009207/0.009212, allocations: 108.7 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001176/0.001176, allocations: 180.1 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.028/2.028, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.519/2.519, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005398, allocations: 12 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6703, allocations: 98.72 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003624/0.674, allocations: 3.019 MB / 0.6863 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.6768, allocations: 1.199 MB / 0.6874 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005911/0.6774, allocations: 22.03 kB / 0.6875 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.6775, allocations: 49.03 kB / 0.6875 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006772/0.6782, allocations: 184.7 kB / 0.6877 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.6796, allocations: 458.5 kB / 0.6881 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.6807, allocations: 0.5794 MB / 0.6887 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.6812, allocations: 242.5 kB / 0.6889 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.6817, allocations: 289.7 kB / 0.6892 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.682, allocations: 255.7 kB / 0.6894 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.762e-05/0.6821, allocations: 21.47 kB / 0.6895 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.603e-05/0.6822, allocations: 23.44 kB / 0.6895 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.6824, allocations: 102.7 kB / 0.6896 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.6825, allocations: 135.9 kB / 0.6897 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008209/0.6833, allocations: 0.5842 MB / 0.6903 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.205e-06/0.6833, allocations: 1.156 kB / 0.6903 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.179e-06/0.6834, allocations: 0 / 0.6903 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.6834, allocations: 0 / 0.6903 GB, free: 12.34 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002208/0.6856, allocations: 1.043 MB / 0.6913 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.6857, allocations: 10.17 kB / 0.6913 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.6859, allocations: 94.39 kB / 0.6914 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.6871, allocations: 0.5497 MB / 0.6919 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.6872, allocations: 96.22 kB / 0.692 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.6873, allocations: 49.5 kB / 0.6921 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.6892, allocations: 0.5744 MB / 0.6926 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.6893, allocations: 0 / 0.6926 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.6894, allocations: 26.3 kB / 0.6927 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.6895, allocations: 12.12 kB / 0.6927 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.692, allocations: 426.3 kB / 0.6931 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00571/0.6978, allocations: 1.919 MB / 0.695 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.7006, allocations: 0.5256 MB / 0.6955 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.539e-05/0.7006, allocations: 5.094 kB / 0.6955 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/0.702, allocations: 287.9 kB / 0.6958 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 7.265e-06/0.702, allocations: 0 / 0.6958 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.002203/0.7042, allocations: 0.629 MB / 0.6964 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.7043, allocations: 83.38 kB / 0.6964 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009682/0.7053, allocations: 0.5787 MB / 0.697 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.7054, allocations: 36.92 kB / 0.697 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.7056, allocations: 336.6 kB / 0.6974 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.7058, allocations: 152.9 kB / 0.6975 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.7058, allocations: 10.03 kB / 0.6975 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.706, allocations: 380.4 kB / 0.6979 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.7066, allocations: 184.3 kB / 0.6981 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.7073, allocations: 267.7 kB / 0.6983 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/0.708, allocations: 230.9 kB / 0.6985 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.236e-06/0.708, allocations: 1.375 kB / 0.6985 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001595/0.7096, allocations: 0.5854 MB / 0.6991 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.7098, allocations: 0.817 MB / 0.6999 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.7098, allocations: 6.547 kB / 0.6999 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.7098, allocations: 3.875 kB / 0.6999 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.7105, allocations: 115.4 kB / 0.7 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.7105, allocations: 3.062 kB / 0.7 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.7111, allocations: 70.03 kB / 0.7001 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.7111, allocations: 17 kB / 0.7001 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.7111, allocations: 7.5 kB / 0.7001 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001152/0.7123, allocations: 473.5 kB / 0.7006 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.62e-06/0.7123, allocations: 1.625 kB / 0.7006 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.39e-06/0.7124, allocations: 9.469 kB / 0.7006 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.7129, allocations: 99.27 kB / 0.7007 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.7129, allocations: 3.844 kB / 0.7007 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.7134, allocations: 53.58 kB / 0.7007 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.7135, allocations: 17.59 kB / 0.7007 GB, free: 5.797 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0004083/0.7139, allocations: 272.5 kB / 0.701 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.714, allocations: 71.97 kB / 0.7011 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.7142, allocations: 77.09 kB / 0.7012 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.7142, allocations: 4.094 kB / 0.7012 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.274e-06/0.7142, allocations: 1.469 kB / 0.7012 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.7142, allocations: 3.984 kB / 0.7012 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.715, allocations: 0.6078 MB / 0.7018 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-06/0.715, allocations: 0 / 0.7018 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.7157, allocations: 89.23 kB / 0.7018 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.544e-06/0.7157, allocations: 1.219 kB / 0.7018 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.7158, allocations: 11.36 kB / 0.7019 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.455e-06/0.7158, allocations: 1.156 kB / 0.7019 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.781e-06/0.7158, allocations: 9.047 kB / 0.7019 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.7178, allocations: 0.7288 MB / 0.7026 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.7182, allocations: 188.2 kB / 0.7028 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.7183, allocations: 11.75 kB / 0.7028 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.7188, allocations: 46.44 kB / 0.7028 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.7189, allocations: 33.41 kB / 0.7028 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.719, allocations: 14.41 kB / 0.7029 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006569/0.7197, allocations: 406.2 kB / 0.7032 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.13e-07/0.7197, allocations: 0 / 0.7032 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008755/0.7206, allocations: 203.8 kB / 0.7034 GB, free: 4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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.0001653/0.7208, allocations: 126 kB / 0.7036 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.7227, allocations: 0.7709 MB / 0.7043 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.568e-06/0.7227, allocations: 1.125 kB / 0.7043 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.7234, allocations: 225.9 kB / 0.7045 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.7243, allocations: 167.9 kB / 0.7047 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.7268, allocations: 1.337 MB / 0.706 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.7273, allocations: 0.9232 MB / 0.7069 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005862/0.7279, allocations: 88.23 kB / 0.707 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.7281, allocations: 42.91 kB / 0.707 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of SimCode: time 1.652e-06/0.7281, allocations: 1.188 kB / 0.707 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of Templates: time 0.01878/0.7469, allocations: 6.737 MB / 0.7136 GB, free: 14.25 MB / 0.5417 GB