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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002676/0.002676, allocations: 178.2 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 103.6 kB / 0.748 GB, free: 60.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000997/0.000997, allocations: 63.91 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2958, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.004168/0.3001, allocations: 1.869 MB / 0.9841 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.3028, allocations: 1.222 MB / 0.9853 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008385/0.3037, allocations: 7.938 kB / 0.9853 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.3042, allocations: 47.58 kB / 0.9853 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007165/0.305, allocations: 55.59 kB / 0.9854 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.3056, allocations: 143.8 kB / 0.9855 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008702/0.3065, allocations: 441 kB / 0.9859 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004576/0.3069, allocations: 226.3 kB / 0.9861 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.3072, allocations: 139.3 kB / 0.9863 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.3074, allocations: 167 kB / 0.9864 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.3074, allocations: 24 kB / 0.9864 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.034e-05/0.3075, allocations: 24 kB / 0.9865 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.3076, allocations: 79.56 kB / 0.9865 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.3077, allocations: 170.9 kB / 0.9867 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.3082, allocations: 0.5101 MB / 0.9872 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3082, allocations: 3.938 kB / 0.9872 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3082, allocations: 0 / 0.9872 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.3083, allocations: 0 / 0.9872 GB, free: 5.223 MB / 0.7136 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.001364/0.3096, allocations: 0.7326 MB / 0.9879 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.3097, allocations: 8.031 kB / 0.9879 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.3098, allocations: 48.38 kB / 0.988 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.3103, allocations: 351.8 kB / 0.9883 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.3104, allocations: 25.03 kB / 0.9883 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.3105, allocations: 40.36 kB / 0.9884 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.3111, allocations: 350.5 kB / 0.9887 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3111, allocations: 4.125 kB / 0.9887 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.3112, allocations: 23.92 kB / 0.9887 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3112, allocations: 8 kB / 0.9887 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.3117, allocations: 246.5 kB / 0.989 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.3136, allocations: 1.263 MB / 0.9902 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.3141, allocations: 198.7 kB / 0.9904 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.3143, allocations: 99.19 kB / 0.9905 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3144, allocations: 7.922 kB / 0.9905 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3144, allocations: 38.56 kB / 0.9905 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.3144, allocations: 4 kB / 0.9905 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0006649/0.3151, allocations: 257 kB / 0.9908 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.3152, allocations: 106.8 kB / 0.9909 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/0.3157, allocations: 409.6 kB / 0.9913 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3157, allocations: 29.7 kB / 0.9913 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.3159, allocations: 247.9 kB / 0.9915 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.316, allocations: 59.19 kB / 0.9916 GB, free: 488 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.3161, allocations: 49.7 kB / 0.9917 GB, free: 432 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3163, allocations: 350.7 kB / 0.992 GB, free: 72 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.3165, allocations: 108.8 kB / 0.9921 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.3168, allocations: 181.4 kB / 0.9923 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.3173, allocations: 236.1 kB / 0.9925 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3173, allocations: 4 kB / 0.9925 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005902/0.3179, allocations: 325 kB / 0.9928 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3179, allocations: 4 kB / 0.9928 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3179, allocations: 0 / 0.9928 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3179, allocations: 4 kB / 0.9928 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.3182, allocations: 63.91 kB / 0.9929 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3182, allocations: 0 / 0.9929 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.3185, allocations: 51.56 kB / 0.9929 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.3185, allocations: 12.09 kB / 0.9929 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002249/0.3187, allocations: 184.1 kB / 0.9931 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001839/0.3189, allocations: 149.4 kB / 0.9933 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002452/0.3192, allocations: 196 kB / 0.9934 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.3192, allocations: 3.938 kB / 0.9934 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003692/0.3196, allocations: 278.8 kB / 0.9937 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.3196, allocations: 8.156 kB / 0.9937 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.3196, allocations: 4 kB / 0.9937 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-06/0.3196, allocations: 4 kB / 0.9937 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.3198, allocations: 51.91 kB / 0.9938 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.3198, allocations: 0 / 0.9938 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.32, allocations: 35.73 kB / 0.9938 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.32, allocations: 15.98 kB / 0.9938 GB, free: 14.07 MB / 0.7292 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.000135/0.3201, allocations: 200.1 kB / 0.994 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.3202, allocations: 35.62 kB / 0.994 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.915e-05/0.3203, allocations: 39.23 kB / 0.9941 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3203, allocations: 0 / 0.9941 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3203, allocations: 4 kB / 0.9941 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3203, allocations: 0 / 0.9941 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.3214, allocations: 0.6911 MB / 0.9948 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3214, allocations: 0 / 0.9948 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.3216, allocations: 31.97 kB / 0.9948 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3216, allocations: 4.094 kB / 0.9948 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.3217, allocations: 4 kB / 0.9948 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3217, allocations: 4 kB / 0.9948 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3217, allocations: 7.922 kB / 0.9948 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.3246, allocations: 2.063 MB / 0.9968 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3248, allocations: 120.6 kB / 0.9969 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.3248, allocations: 4 kB / 0.9969 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.325, allocations: 15.98 kB / 0.997 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.325, allocations: 11.98 kB / 0.997 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.325, allocations: 4.094 kB / 0.997 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003042/0.3253, allocations: 299.1 kB / 0.9973 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3253, allocations: 0 / 0.9973 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006278/0.326, allocations: 155.5 kB / 0.9974 GB, free: 10.17 MB / 0.7292 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.0001839/0.3262, allocations: 111.2 kB / 0.9975 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006368/0.3268, allocations: 325.3 kB / 0.9978 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3268, allocations: 4 kB / 0.9978 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.327, allocations: 79.89 kB / 0.9979 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.3276, allocations: 69.95 kB / 0.998 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.329, allocations: 0.923 MB / 0.9989 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.3294, allocations: 0.7921 MB / 0.9996 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.3296, allocations: 42.95 kB / 0.9997 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.3297, allocations: 31.42 kB / 0.9997 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.3297, allocations: 0 / 0.9997 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of Templates: time 0.007118/0.3368, allocations: 3.525 MB / 1.003 GB, free: 4.211 MB / 0.7292 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)