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.001533/0.001532, allocations: 110.3 kB / 15.99 MB, free: 6.355 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.001765/0.001765, allocations: 194 kB / 16.91 MB, free: 6.191 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.49/1.49, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.732/1.732, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001988/0.001988, allocations: 72.7 kB / 0.6717 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.317, allocations: 114.5 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003892/0.3209, allocations: 1.865 MB / 0.7854 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002235/0.3232, allocations: 1.222 MB / 0.7865 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000462/0.3237, allocations: 7.938 kB / 0.7866 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.3241, allocations: 55.5 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.3246, allocations: 39.72 kB / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.325, allocations: 135.9 kB / 0.7868 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.3257, allocations: 492.9 kB / 0.7872 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.3263, allocations: 259 kB / 0.7875 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.3266, allocations: 175.3 kB / 0.7877 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.3269, allocations: 202.9 kB / 0.7879 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.327, allocations: 55.98 kB / 0.7879 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.887e-05/0.3271, allocations: 52 kB / 0.788 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3272, allocations: 103.7 kB / 0.7881 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.3274, allocations: 214.8 kB / 0.7883 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.3278, allocations: 479.1 kB / 0.7887 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3279, allocations: 0 / 0.7887 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3279, allocations: 0 / 0.7887 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.3279, allocations: 0 / 0.7887 GB, free: 8.516 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.001555/0.3294, allocations: 0.7484 MB / 0.7894 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3295, allocations: 8.031 kB / 0.7895 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.3296, allocations: 52.38 kB / 0.7895 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.3302, allocations: 376.1 kB / 0.7899 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.3302, allocations: 25.38 kB / 0.7899 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.3303, allocations: 44.36 kB / 0.7899 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007663/0.3311, allocations: 387.6 kB / 0.7903 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3311, allocations: 192 / 0.7903 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.3311, allocations: 27.88 kB / 0.7903 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3311, allocations: 12 kB / 0.7903 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.3317, allocations: 271.8 kB / 0.7906 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.3339, allocations: 1.327 MB / 0.7919 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.3345, allocations: 214.8 kB / 0.7921 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.3347, allocations: 112.8 kB / 0.7922 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3347, allocations: 0 / 0.7922 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.3348, allocations: 34.56 kB / 0.7922 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 2.915e-06/0.3348, allocations: 0 / 0.7922 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007638/0.3356, allocations: 283.5 kB / 0.7925 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.3357, allocations: 106.8 kB / 0.7926 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.3361, allocations: 421.5 kB / 0.793 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.3362, allocations: 29.7 kB / 0.793 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.3364, allocations: 255.7 kB / 0.7933 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.3364, allocations: 67.08 kB / 0.7933 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3365, allocations: 65.61 kB / 0.7934 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3367, allocations: 350.8 kB / 0.7937 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.3371, allocations: 108.8 kB / 0.7938 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.3375, allocations: 199.5 kB / 0.794 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3379, allocations: 255.5 kB / 0.7943 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3379, allocations: 3.938 kB / 0.7943 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006835/0.3386, allocations: 351.3 kB / 0.7946 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3387, allocations: 7.938 kB / 0.7946 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3387, allocations: 4 kB / 0.7946 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3387, allocations: 4 kB / 0.7946 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.339, allocations: 63.84 kB / 0.7947 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.339, allocations: 4 kB / 0.7947 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.3392, allocations: 55.59 kB / 0.7948 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.3392, allocations: 20.05 kB / 0.7948 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002253/0.3395, allocations: 192.8 kB / 0.795 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001813/0.3397, allocations: 172.8 kB / 0.7951 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002464/0.3399, allocations: 207.5 kB / 0.7953 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.466e-06/0.3399, allocations: 4 kB / 0.7953 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004009/0.3403, allocations: 300.1 kB / 0.7956 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3403, allocations: 4 kB / 0.7956 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3404, allocations: 4 kB / 0.7956 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.3404, allocations: 4 kB / 0.7956 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.3407, allocations: 55.91 kB / 0.7957 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3407, allocations: 7.938 kB / 0.7957 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.341, allocations: 43.95 kB / 0.7957 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.341, allocations: 8.094 kB / 0.7957 GB, free: 0.9219 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.0001401/0.3411, allocations: 200.2 kB / 0.7959 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.3412, allocations: 39.52 kB / 0.796 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.109e-05/0.3413, allocations: 39.61 kB / 0.796 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3413, allocations: 3.938 kB / 0.796 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3413, allocations: 0 / 0.796 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3413, allocations: 0 / 0.796 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3424, allocations: 0.6951 MB / 0.7967 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3424, allocations: 3.938 kB / 0.7967 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.3426, allocations: 35.97 kB / 0.7967 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3426, allocations: 4 kB / 0.7967 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3426, allocations: 4 kB / 0.7967 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3426, allocations: 8.062 kB / 0.7967 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3426, allocations: 0 / 0.7967 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.3433, allocations: 420.5 kB / 0.7971 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/0.3434, allocations: 120.6 kB / 0.7973 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.3434, allocations: 4 kB / 0.7973 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3436, allocations: 19.98 kB / 0.7973 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.3436, allocations: 7.984 kB / 0.7973 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3437, allocations: 4 kB / 0.7973 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003095/0.344, allocations: 295.2 kB / 0.7976 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.51e-07/0.344, allocations: 0 / 0.7976 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004789/0.3445, allocations: 135.4 kB / 0.7977 GB, free: 14.8 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.0001532/0.3446, allocations: 115.2 kB / 0.7978 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007108/0.3454, allocations: 364.3 kB / 0.7982 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3454, allocations: 0 / 0.7982 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.3455, allocations: 87.83 kB / 0.7982 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.3462, allocations: 75.94 kB / 0.7983 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.3476, allocations: 0.8307 MB / 0.7991 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.3481, allocations: 0.7996 MB / 0.7999 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3482, allocations: 31.42 kB / 0.7999 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.3482, allocations: 0 / 0.7999 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of Templates: time 0.007489/0.3557, allocations: 4.383 MB / 0.8042 GB, free: 8.07 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)