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.001554/0.001554, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001846/0.001846, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.797/1.797, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.873/1.873, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001339/0.00134, allocations: 73.08 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2683, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003272/0.2716, allocations: 1.866 MB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.2736, allocations: 1.222 MB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.2738, allocations: 11.94 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.2741, allocations: 51.52 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.2744, allocations: 31.73 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2748, allocations: 139.8 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.2753, allocations: 496.9 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.2757, allocations: 259.1 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.2759, allocations: 175.3 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.2761, allocations: 194.9 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.466e-05/0.2762, allocations: 52 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.86e-05/0.2763, allocations: 52 kB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.2764, allocations: 111.6 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.2766, allocations: 214.8 kB / 0.7876 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.2771, allocations: 0.5725 MB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2771, allocations: 0 / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2771, allocations: 0 / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.2771, allocations: 4 kB / 0.7882 GB, free: 8.438 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001231/0.2784, allocations: 0.7522 MB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2784, allocations: 8.031 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.848e-05/0.2785, allocations: 52.38 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.279, allocations: 368.2 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.279, allocations: 29.38 kB / 0.7893 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.2791, allocations: 36.38 kB / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.2798, allocations: 395.5 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2798, allocations: 8.125 kB / 0.7898 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.2798, allocations: 15.94 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2798, allocations: 15.94 kB / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.2804, allocations: 271.8 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.2824, allocations: 1.327 MB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.2829, allocations: 222.7 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.2832, allocations: 111.3 kB / 0.7917 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2832, allocations: 0 / 0.7917 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2832, allocations: 38.5 kB / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.2832, allocations: 0 / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006457/0.2839, allocations: 275.5 kB / 0.792 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.284, allocations: 110.7 kB / 0.7921 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.2844, allocations: 417.6 kB / 0.7925 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2845, allocations: 29.7 kB / 0.7925 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.2847, allocations: 255.7 kB / 0.7927 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.2847, allocations: 67.08 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.2848, allocations: 69.61 kB / 0.7929 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.285, allocations: 346.8 kB / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.2852, allocations: 104.8 kB / 0.7933 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.2855, allocations: 203.5 kB / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.2859, allocations: 255.5 kB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2859, allocations: 0 / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005872/0.2865, allocations: 351.1 kB / 0.7941 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2865, allocations: 8 kB / 0.7941 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2865, allocations: 0 / 0.7941 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2866, allocations: 4 kB / 0.7941 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.2868, allocations: 67.83 kB / 0.7941 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2868, allocations: 4 kB / 0.7941 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.2871, allocations: 59.81 kB / 0.7942 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.2871, allocations: 12 kB / 0.7942 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002137/0.2873, allocations: 192.1 kB / 0.7944 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001895/0.2875, allocations: 176.8 kB / 0.7946 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002522/0.2878, allocations: 211.5 kB / 0.7948 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.2878, allocations: 4 kB / 0.7948 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004016/0.2882, allocations: 296.1 kB / 0.7951 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.2882, allocations: 4 kB / 0.7951 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2882, allocations: 4 kB / 0.7951 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.2882, allocations: 4 kB / 0.7951 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.2884, allocations: 60.06 kB / 0.7951 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2884, allocations: 11.94 kB / 0.7951 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2886, allocations: 35.73 kB / 0.7952 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2886, allocations: 11.98 kB / 0.7952 GB, free: 0.8438 MB / 0.6075 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.0001605/0.2888, allocations: 196.2 kB / 0.7954 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.2889, allocations: 35.53 kB / 0.7954 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.482e-05/0.289, allocations: 43.59 kB / 0.7954 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.289, allocations: 3.938 kB / 0.7954 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.289, allocations: 7.938 kB / 0.7955 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.289, allocations: 0 / 0.7955 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.2901, allocations: 0.6873 MB / 0.7961 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2901, allocations: 7.938 kB / 0.7961 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.2903, allocations: 31.97 kB / 0.7962 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2903, allocations: 8.062 kB / 0.7962 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2903, allocations: 4 kB / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2903, allocations: 7.938 kB / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2903, allocations: 0 / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.291, allocations: 416.5 kB / 0.7966 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.2911, allocations: 120.6 kB / 0.7967 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.2911, allocations: 7.984 kB / 0.7967 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2913, allocations: 15.98 kB / 0.7967 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.2913, allocations: 11.98 kB / 0.7967 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.2913, allocations: 4 kB / 0.7967 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002999/0.2917, allocations: 299.2 kB / 0.797 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2917, allocations: 0 / 0.797 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004797/0.2921, allocations: 127.4 kB / 0.7971 GB, free: 14.72 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,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.0001658/0.2923, allocations: 115.2 kB / 0.7973 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.293, allocations: 359.6 kB / 0.7976 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.293, allocations: 0 / 0.7976 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.2932, allocations: 87.83 kB / 0.7977 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.2938, allocations: 80.55 kB / 0.7978 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.295, allocations: 0.8017 MB / 0.7985 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.2954, allocations: 0.7996 MB / 0.7993 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.2956, allocations: 47.44 kB / 0.7994 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.2957, allocations: 31.42 kB / 0.7994 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of SimCode: time 4.2e-07/0.2957, allocations: 0 / 0.7994 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of Templates: time 0.00701/0.3027, allocations: 3.323 MB / 0.8026 GB, free: 9.062 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)