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.001429/0.001429, allocations: 101.7 kB / 16.35 MB, free: 5.879 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.0015/0.0015, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.547/1.547, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.906/1.906, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001439/0.001439, allocations: 75.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2313, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.003053/0.2345, allocations: 1.831 MB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2363, allocations: 1.238 MB / 0.7878 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.2366, allocations: 8 kB / 0.7878 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.4865/0.7231, allocations: 66.52 kB / 0.7879 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005905/0.7238, allocations: 65.92 kB / 0.7879 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.7242, allocations: 158.9 kB / 0.7881 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.7247, allocations: 489 kB / 0.7885 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.7251, allocations: 236.2 kB / 0.7888 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.7252, allocations: 165.7 kB / 0.7889 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.7254, allocations: 186.8 kB / 0.7891 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.7255, allocations: 49.88 kB / 0.7891 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.7255, allocations: 47.81 kB / 0.7892 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.7256, allocations: 103.4 kB / 0.7893 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.7258, allocations: 201.7 kB / 0.7895 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.7262, allocations: 0.5482 MB / 0.79 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7262, allocations: 2.688 kB / 0.79 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7262, allocations: 1.875 kB / 0.79 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.7262, allocations: 0 / 0.79 GB, free: 46.17 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001126/0.7274, allocations: 0.7293 MB / 0.7907 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.7274, allocations: 8.656 kB / 0.7907 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.7275, allocations: 51.09 kB / 0.7908 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.7279, allocations: 360.5 kB / 0.7911 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.728, allocations: 23.41 kB / 0.7912 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.728, allocations: 36.19 kB / 0.7912 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.7286, allocations: 350.8 kB / 0.7915 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.7286, allocations: 4.031 kB / 0.7915 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.7287, allocations: 22.53 kB / 0.7916 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.7287, allocations: 7.875 kB / 0.7916 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.7291, allocations: 248.7 kB / 0.7918 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.7307, allocations: 1.252 MB / 0.793 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.7312, allocations: 202.1 kB / 0.7932 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.7314, allocations: 97.84 kB / 0.7933 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.7314, allocations: 3 kB / 0.7933 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.7315, allocations: 38.66 kB / 0.7933 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.474e-06/0.7315, allocations: 0 / 0.7933 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0005619/0.732, allocations: 257.5 kB / 0.7936 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.7321, allocations: 109.8 kB / 0.7937 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.7325, allocations: 410.1 kB / 0.7941 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.7325, allocations: 32.39 kB / 0.7941 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.7326, allocations: 243.2 kB / 0.7944 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.7327, allocations: 52.52 kB / 0.7944 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.7328, allocations: 55.64 kB / 0.7945 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.7328, allocations: 349.7 kB / 0.7948 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.733, allocations: 107.9 kB / 0.7949 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.7333, allocations: 179.5 kB / 0.7951 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.7336, allocations: 234.4 kB / 0.7953 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7337, allocations: 3.594 kB / 0.7953 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004985/0.7342, allocations: 326.1 kB / 0.7956 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7342, allocations: 6.781 kB / 0.7956 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7342, allocations: 0 / 0.7956 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.7342, allocations: 3.438 kB / 0.7956 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.7345, allocations: 63.5 kB / 0.7957 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.7345, allocations: 3.703 kB / 0.7957 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.7347, allocations: 57.47 kB / 0.7957 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.7347, allocations: 10.81 kB / 0.7957 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001953/0.7349, allocations: 187.9 kB / 0.7959 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001517/0.7351, allocations: 158.1 kB / 0.7961 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002053/0.7353, allocations: 185.5 kB / 0.7962 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.7353, allocations: 3.938 kB / 0.7963 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003466/0.7357, allocations: 277.2 kB / 0.7965 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.7357, allocations: 8.844 kB / 0.7965 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.7357, allocations: 3.438 kB / 0.7965 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.299e-06/0.7357, allocations: 3.844 kB / 0.7965 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.7359, allocations: 46.77 kB / 0.7966 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7359, allocations: 6.5 kB / 0.7966 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.7361, allocations: 40.27 kB / 0.7966 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.7361, allocations: 10.19 kB / 0.7966 GB, free: 43.38 MB / 0.6544 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.0001102/0.7362, allocations: 199.5 kB / 0.7968 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.7363, allocations: 33.67 kB / 0.7969 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.7364, allocations: 38.66 kB / 0.7969 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.7364, allocations: 0.8438 kB / 0.7969 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7364, allocations: 0 / 0.7969 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7364, allocations: 0 / 0.7969 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.7374, allocations: 0.6914 MB / 0.7976 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7374, allocations: 2.625 kB / 0.7976 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.7376, allocations: 30.25 kB / 0.7976 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.7376, allocations: 4.078 kB / 0.7976 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7376, allocations: 4 kB / 0.7976 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.7376, allocations: 3.375 kB / 0.7976 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.7376, allocations: 7.125 kB / 0.7976 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.7382, allocations: 394 kB / 0.798 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.7383, allocations: 120.2 kB / 0.7981 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.7383, allocations: 5.781 kB / 0.7981 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.7385, allocations: 25.42 kB / 0.7981 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.7385, allocations: 12.45 kB / 0.7981 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.7386, allocations: 6.906 kB / 0.7982 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002653/0.7388, allocations: 287.5 kB / 0.7984 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7388, allocations: 0 / 0.7984 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004409/0.7393, allocations: 111.7 kB / 0.7985 GB, free: 42.22 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,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.0001866/0.7395, allocations: 116.7 kB / 0.7986 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005953/0.7401, allocations: 324.6 kB / 0.799 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7401, allocations: 3.938 kB / 0.799 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.7402, allocations: 88.34 kB / 0.799 GB, free: 42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.7408, allocations: 62.08 kB / 0.7991 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.742, allocations: 0.6252 MB / 0.7997 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.7423, allocations: 0.7884 MB / 0.8005 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.7425, allocations: 45.55 kB / 0.8005 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.7426, allocations: 29.78 kB / 0.8006 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.7426, allocations: 0 / 0.8006 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.009094/0.7517, allocations: 3.309 MB / 0.8038 GB, free: 40.77 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)