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.001394/0.001394, allocations: 109.1 kB / 16.37 MB, free: 6.477 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.001434/0.001434, allocations: 189.8 kB / 17.31 MB, free: 5.82 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.319/1.319, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.836/1.836, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001407/0.001407, allocations: 75.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2099, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.00302/0.213, allocations: 1.841 MB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2145, allocations: 1.234 MB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.2147, allocations: 11.94 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.3719/0.5866, allocations: 61.92 kB / 0.7879 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005626/0.5872, allocations: 71.55 kB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.5876, allocations: 162.3 kB / 0.7881 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.5881, allocations: 475.1 kB / 0.7886 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.5885, allocations: 235.2 kB / 0.7888 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.5886, allocations: 168.7 kB / 0.7889 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.5888, allocations: 191.3 kB / 0.7891 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.5888, allocations: 49.88 kB / 0.7892 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.231e-05/0.5889, allocations: 47.25 kB / 0.7892 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.589, allocations: 101.1 kB / 0.7893 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.5891, allocations: 198.2 kB / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.5895, allocations: 0.5497 MB / 0.79 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5896, allocations: 6.375 kB / 0.79 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5896, allocations: 0 / 0.79 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.006e-06/0.5896, allocations: 0.6562 kB / 0.79 GB, free: 46.4 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.001074/0.5907, allocations: 0.7291 MB / 0.7908 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5907, allocations: 12.44 kB / 0.7908 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.5908, allocations: 50.12 kB / 0.7908 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.5913, allocations: 357.8 kB / 0.7912 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.5913, allocations: 27.66 kB / 0.7912 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.5914, allocations: 35.17 kB / 0.7912 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.5919, allocations: 355.4 kB / 0.7916 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.5919, allocations: 2.812 kB / 0.7916 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.592, allocations: 16.81 kB / 0.7916 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.592, allocations: 8.594 kB / 0.7916 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.5925, allocations: 249.2 kB / 0.7918 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.594, allocations: 1.252 MB / 0.793 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.5945, allocations: 194.9 kB / 0.7932 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.5947, allocations: 105.1 kB / 0.7933 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.5947, allocations: 0 / 0.7933 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.5948, allocations: 37.25 kB / 0.7934 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.5948, allocations: 0 / 0.7934 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0005753/0.5953, allocations: 260.1 kB / 0.7936 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.5954, allocations: 106.3 kB / 0.7937 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.5958, allocations: 407.1 kB / 0.7941 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.5958, allocations: 29.08 kB / 0.7941 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.5959, allocations: 248.2 kB / 0.7944 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.5959, allocations: 53.06 kB / 0.7944 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.596, allocations: 55.11 kB / 0.7945 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.5961, allocations: 353.5 kB / 0.7948 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.5963, allocations: 107.5 kB / 0.7949 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.5965, allocations: 181.3 kB / 0.7951 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.5969, allocations: 240.2 kB / 0.7953 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5969, allocations: 3.375 kB / 0.7953 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005503/0.5975, allocations: 328.2 kB / 0.7956 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.5975, allocations: 3.594 kB / 0.7956 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5975, allocations: 3.344 kB / 0.7956 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.5976, allocations: 3.438 kB / 0.7956 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.5978, allocations: 57.06 kB / 0.7957 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5978, allocations: 3.5 kB / 0.7957 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.5981, allocations: 57.89 kB / 0.7958 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.5981, allocations: 11.97 kB / 0.7958 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001723/0.5983, allocations: 188.1 kB / 0.7959 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001245/0.5984, allocations: 149.3 kB / 0.7961 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001933/0.5986, allocations: 190.1 kB / 0.7963 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.5986, allocations: 3.938 kB / 0.7963 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003149/0.5989, allocations: 275.1 kB / 0.7965 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-06/0.5989, allocations: 8.844 kB / 0.7965 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.5989, allocations: 0 / 0.7965 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-06/0.599, allocations: 3.469 kB / 0.7965 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.5991, allocations: 56.42 kB / 0.7966 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.5991, allocations: 3.5 kB / 0.7966 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.5993, allocations: 35.34 kB / 0.7966 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.5994, allocations: 9.969 kB / 0.7966 GB, free: 43.6 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 8.987e-05/0.5995, allocations: 202.8 kB / 0.7968 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.5995, allocations: 29.28 kB / 0.7969 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.801e-05/0.5996, allocations: 36.17 kB / 0.7969 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5996, allocations: 5.781 kB / 0.7969 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5996, allocations: 1.5 kB / 0.7969 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5996, allocations: 2.906 kB / 0.7969 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000997/0.6006, allocations: 0.6892 MB / 0.7976 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6006, allocations: 1.406 kB / 0.7976 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.6008, allocations: 37.7 kB / 0.7976 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6008, allocations: 3.938 kB / 0.7976 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.6008, allocations: 2.906 kB / 0.7976 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.6008, allocations: 1.219 kB / 0.7976 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6009, allocations: 8.297 kB / 0.7976 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.6014, allocations: 394.4 kB / 0.798 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.6015, allocations: 122.2 kB / 0.7981 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.6015, allocations: 9.25 kB / 0.7981 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.6017, allocations: 18.06 kB / 0.7982 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.6017, allocations: 16.23 kB / 0.7982 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.6018, allocations: 3.281 kB / 0.7982 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002431/0.602, allocations: 287.4 kB / 0.7984 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.602, allocations: 0 / 0.7984 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004446/0.6025, allocations: 110.7 kB / 0.7986 GB, free: 42.39 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.0001548/0.6026, allocations: 120.7 kB / 0.7987 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006097/0.6032, allocations: 326.5 kB / 0.799 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6033, allocations: 0 / 0.799 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.6034, allocations: 80.25 kB / 0.7991 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.6039, allocations: 69.66 kB / 0.7991 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.6052, allocations: 0.6514 MB / 0.7998 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.6054, allocations: 0.7928 MB / 0.8005 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.6055, allocations: 27.56 kB / 0.8006 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6055, allocations: 5.406 kB / 0.8006 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.008813/0.6143, allocations: 4.177 MB / 0.8046 GB, free: 40.78 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)