Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.00113/0.001131, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.489/1.489, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.88/1.88, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001394/0.001394, allocations: 79.81 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2332, allocations: 114.6 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003407/0.2367, allocations: 1.835 MB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2385, allocations: 1.234 MB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.2388, allocations: 11.94 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.491/0.7298, allocations: 64.62 kB / 0.7879 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004368/0.7303, allocations: 66.89 kB / 0.7879 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.7307, allocations: 161.6 kB / 0.7881 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.7311, allocations: 487.9 kB / 0.7886 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.7316, allocations: 259.2 kB / 0.7888 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.7317, allocations: 179.1 kB / 0.789 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.7319, allocations: 192.8 kB / 0.7892 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.732, allocations: 52.25 kB / 0.7892 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.7321, allocations: 54.03 kB / 0.7893 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/0.7321, allocations: 111.5 kB / 0.7894 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.7323, allocations: 216.2 kB / 0.7896 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.7329, allocations: 0.5887 MB / 0.7902 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7329, allocations: 2.625 kB / 0.7902 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7329, allocations: 0 / 0.7902 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.7329, allocations: 0 / 0.7902 GB, free: 46.41 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001239/0.7342, allocations: 0.7522 MB / 0.7909 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.7342, allocations: 8.406 kB / 0.7909 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.7344, allocations: 50 kB / 0.7909 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.7348, allocations: 372.6 kB / 0.7913 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.7349, allocations: 26.88 kB / 0.7913 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.735, allocations: 43.88 kB / 0.7914 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.7356, allocations: 390.5 kB / 0.7917 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.7356, allocations: 5.047 kB / 0.7917 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.7357, allocations: 21.42 kB / 0.7918 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.7357, allocations: 10.59 kB / 0.7918 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.7362, allocations: 270.2 kB / 0.792 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.7379, allocations: 1.326 MB / 0.7933 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.7385, allocations: 216.7 kB / 0.7935 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.7387, allocations: 110.5 kB / 0.7936 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.7387, allocations: 0 / 0.7936 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.7388, allocations: 45.19 kB / 0.7937 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.7388, allocations: 0 / 0.7937 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0005745/0.7394, allocations: 268.3 kB / 0.7939 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.7394, allocations: 110.2 kB / 0.794 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.7398, allocations: 417.1 kB / 0.7944 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.7399, allocations: 28.02 kB / 0.7945 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.74, allocations: 263.6 kB / 0.7947 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.7401, allocations: 64.95 kB / 0.7948 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.366e-05/0.7402, allocations: 65.45 kB / 0.7948 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.7403, allocations: 349.6 kB / 0.7952 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.7405, allocations: 107.6 kB / 0.7953 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.7407, allocations: 194 kB / 0.7955 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.7412, allocations: 258.4 kB / 0.7957 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7412, allocations: 1.188 kB / 0.7957 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005629/0.7417, allocations: 353.6 kB / 0.796 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.7418, allocations: 3.406 kB / 0.7961 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7418, allocations: 3.312 kB / 0.7961 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.7418, allocations: 3.344 kB / 0.7961 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.7421, allocations: 69.92 kB / 0.7961 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.7421, allocations: 6.688 kB / 0.7961 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.7423, allocations: 46.62 kB / 0.7962 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.7423, allocations: 22.27 kB / 0.7962 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002106/0.7426, allocations: 191 kB / 0.7964 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001556/0.7427, allocations: 167.8 kB / 0.7965 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002451/0.743, allocations: 214.2 kB / 0.7967 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.743, allocations: 0 / 0.7967 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003812/0.7434, allocations: 301.2 kB / 0.797 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.7434, allocations: 10.31 kB / 0.797 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7434, allocations: 4.75 kB / 0.797 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/0.7434, allocations: 3.5 kB / 0.797 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.7436, allocations: 52.31 kB / 0.7971 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.7436, allocations: 7.344 kB / 0.7971 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.7438, allocations: 44.05 kB / 0.7971 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.7438, allocations: 9.141 kB / 0.7972 GB, free: 43.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001028/0.7439, allocations: 200 kB / 0.7973 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.744, allocations: 41.3 kB / 0.7974 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.7441, allocations: 35.94 kB / 0.7974 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7441, allocations: 7.391 kB / 0.7974 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.7441, allocations: 0 / 0.7974 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7441, allocations: 3.422 kB / 0.7974 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009672/0.7451, allocations: 0.6941 MB / 0.7981 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7451, allocations: 3.938 kB / 0.7981 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.7453, allocations: 35.95 kB / 0.7981 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.7453, allocations: 4.812 kB / 0.7982 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.7453, allocations: 5.312 kB / 0.7982 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.7453, allocations: 9.312 kB / 0.7982 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.7453, allocations: 1.5 kB / 0.7982 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.7459, allocations: 414.8 kB / 0.7986 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.746, allocations: 122.6 kB / 0.7987 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.746, allocations: 7.062 kB / 0.7987 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.7462, allocations: 19.97 kB / 0.7987 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.7462, allocations: 10.61 kB / 0.7987 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.7463, allocations: 3.391 kB / 0.7987 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002952/0.7466, allocations: 295 kB / 0.799 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7466, allocations: 0 / 0.799 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004748/0.7471, allocations: 135.7 kB / 0.7991 GB, free: 42.09 MB / 0.6544 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,limPI.I.y) * 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 (17): * Single equations (assignments): 17 * 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.0001536/0.7472, allocations: 111.5 kB / 0.7992 GB, free: 42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006827/0.7479, allocations: 349.6 kB / 0.7996 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7479, allocations: 0 / 0.7996 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.7481, allocations: 85.25 kB / 0.7997 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.7487, allocations: 71.08 kB / 0.7997 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.7499, allocations: 0.6512 MB / 0.8004 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.7503, allocations: 0.804 MB / 0.8011 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.7505, allocations: 40.25 kB / 0.8012 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.7506, allocations: 29.56 kB / 0.8012 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.7506, allocations: 0.9375 kB / 0.8012 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.01013/0.7607, allocations: 3.334 MB / 0.8045 GB, free: 40.61 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)