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.00107/0.00107, allocations: 100.1 kB / 16.27 MB, free: 6.418 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.001045/0.001045, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.449/1.449, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.79/1.79, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.0015/0.0015, allocations: 71.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2597, allocations: 114.5 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.003542/0.2633, allocations: 1.831 MB / 0.7858 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2654, allocations: 1.257 MB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004145/0.2658, allocations: 8 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.2661, allocations: 67.27 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.2665, allocations: 59.41 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.2669, allocations: 167.7 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5452/0.812, allocations: 473.4 kB / 0.7878 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006804/0.8128, allocations: 232.1 kB / 0.788 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.8132, allocations: 169.1 kB / 0.7882 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.8134, allocations: 185.4 kB / 0.7884 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.8135, allocations: 47.88 kB / 0.7884 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.8136, allocations: 51 kB / 0.7885 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.536e-05/0.8137, allocations: 100.4 kB / 0.7885 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.8139, allocations: 199.2 kB / 0.7887 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.8145, allocations: 0.5392 MB / 0.7893 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8145, allocations: 0 / 0.7893 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8145, allocations: 0 / 0.7893 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.8145, allocations: 0 / 0.7893 GB, free: 45.72 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.001215/0.8157, allocations: 0.7296 MB / 0.79 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.8158, allocations: 9.906 kB / 0.79 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/0.8159, allocations: 48.69 kB / 0.79 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.8164, allocations: 352.1 kB / 0.7904 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.8164, allocations: 28.03 kB / 0.7904 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.8165, allocations: 38.86 kB / 0.7904 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.8171, allocations: 352.7 kB / 0.7908 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.8171, allocations: 192 / 0.7908 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.8172, allocations: 22.62 kB / 0.7908 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.8172, allocations: 7.875 kB / 0.7908 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005234/0.8177, allocations: 249.9 kB / 0.791 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.8195, allocations: 1.26 MB / 0.7923 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.8201, allocations: 196.3 kB / 0.7925 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.8202, allocations: 103.2 kB / 0.7926 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.8203, allocations: 0 / 0.7926 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.8203, allocations: 36.41 kB / 0.7926 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.8203, allocations: 0 / 0.7926 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0006068/0.8209, allocations: 261 kB / 0.7928 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.821, allocations: 102.8 kB / 0.7929 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/0.8215, allocations: 412.2 kB / 0.7933 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.8215, allocations: 33.39 kB / 0.7934 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.8217, allocations: 250.7 kB / 0.7936 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.8217, allocations: 51.3 kB / 0.7936 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.8218, allocations: 57.23 kB / 0.7937 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.8219, allocations: 349.8 kB / 0.794 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.8221, allocations: 106.4 kB / 0.7941 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.8223, allocations: 177 kB / 0.7943 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.8227, allocations: 240.9 kB / 0.7945 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8227, allocations: 0.5 kB / 0.7945 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005174/0.8232, allocations: 322.7 kB / 0.7948 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.8233, allocations: 6.969 kB / 0.7949 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8233, allocations: 0 / 0.7949 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.8233, allocations: 3.375 kB / 0.7949 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.8236, allocations: 64.14 kB / 0.7949 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.8236, allocations: 3.5 kB / 0.7949 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.8238, allocations: 57.73 kB / 0.795 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.8238, allocations: 9.656 kB / 0.795 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001997/0.824, allocations: 183.4 kB / 0.7952 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001538/0.8242, allocations: 153.7 kB / 0.7953 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002185/0.8244, allocations: 191.7 kB / 0.7955 GB, free: 43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.8244, allocations: 3.938 kB / 0.7955 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003438/0.8248, allocations: 280.5 kB / 0.7958 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.8248, allocations: 6.969 kB / 0.7958 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.8248, allocations: 0 / 0.7958 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-06/0.8248, allocations: 4.312 kB / 0.7958 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.825, allocations: 51.67 kB / 0.7958 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.825, allocations: 3.5 kB / 0.7958 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.8252, allocations: 36.42 kB / 0.7959 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.8252, allocations: 12.72 kB / 0.7959 GB, free: 42.93 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.0001255/0.8253, allocations: 201.7 kB / 0.7961 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.8254, allocations: 36.81 kB / 0.7961 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.8255, allocations: 35.14 kB / 0.7961 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8255, allocations: 0 / 0.7961 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8255, allocations: 1.5 kB / 0.7961 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.8255, allocations: 6.656 kB / 0.7961 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.8265, allocations: 0.6826 MB / 0.7968 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8266, allocations: 0 / 0.7968 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.8267, allocations: 33.09 kB / 0.7968 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.8267, allocations: 3.469 kB / 0.7968 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.8268, allocations: 2.562 kB / 0.7968 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.8268, allocations: 5.031 kB / 0.7968 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.8268, allocations: 3.938 kB / 0.7968 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.8274, allocations: 396.2 kB / 0.7972 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.8275, allocations: 122.9 kB / 0.7973 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.8275, allocations: 7.5 kB / 0.7974 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.8277, allocations: 13.59 kB / 0.7974 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.8277, allocations: 13.94 kB / 0.7974 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.8277, allocations: 10.12 kB / 0.7974 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003232/0.8281, allocations: 292 kB / 0.7977 GB, free: 42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8281, allocations: 0.5625 kB / 0.7977 GB, free: 42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004547/0.8285, allocations: 111.7 kB / 0.7978 GB, free: 41.98 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.0001739/0.8287, allocations: 113.3 kB / 0.7979 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006263/0.8294, allocations: 335.4 kB / 0.7982 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8294, allocations: 3.188 kB / 0.7982 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.8295, allocations: 84.03 kB / 0.7983 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.8301, allocations: 68.23 kB / 0.7983 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.8313, allocations: 0.6559 MB / 0.799 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.8315, allocations: 0.7869 MB / 0.7998 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/0.8316, allocations: 34.72 kB / 0.7998 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.8316, allocations: 0 / 0.7998 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.01033/0.842, allocations: 4.186 MB / 0.8039 GB, free: 40.53 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)