Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 80.94 kB / 21.55 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009729/0.0009729, allocations: 159.7 kB / 24.96 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9966/0.9966, allocations: 177.1 MB / 205.4 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.899/1.899, allocations: 389.6 MB / 0.6362 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 0.776 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.301e-05, allocations: 7.391 kB / 0.776 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003769/0.003802, allocations: 1.927 MB / 0.7779 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.005907, allocations: 1.676 MB / 0.7796 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.006119, allocations: 8 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.006327, allocations: 90.98 kB / 0.7797 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.006605, allocations: 99.03 kB / 0.7798 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.007099, allocations: 319.3 kB / 0.7801 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.007666, allocations: 0.6957 MB / 0.7807 GB, free: 488 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.007968, allocations: 231.8 kB / 0.781 GB, free: 252 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/0.00833, allocations: 395.3 kB / 0.7813 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.00854, allocations: 211.2 kB / 0.7815 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.008605, allocations: 78.78 kB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.008723, allocations: 91.83 kB / 0.7817 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.0088, allocations: 147.4 kB / 0.7818 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.008928, allocations: 195.5 kB / 0.782 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.009371, allocations: 486 kB / 0.7825 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.009374, allocations: 0 / 0.7825 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.009375, allocations: 0 / 0.7825 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.009381, allocations: 1.031 kB / 0.7825 GB, free: 14.68 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.0009205/0.0103, allocations: 0.809 MB / 0.7833 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.01034, allocations: 9.906 kB / 0.7833 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.685e-05/0.01044, allocations: 84.86 kB / 0.7834 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.01076, allocations: 280.1 kB / 0.7836 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.01079, allocations: 41.38 kB / 0.7837 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.01084, allocations: 60.36 kB / 0.7837 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.01121, allocations: 419.5 kB / 0.7841 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.01122, allocations: 192 / 0.7841 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.01125, allocations: 24.98 kB / 0.7842 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.01126, allocations: 12.38 kB / 0.7842 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.01142, allocations: 120.1 kB / 0.7843 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.01261, allocations: 0.964 MB / 0.7852 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.01286, allocations: 241.8 kB / 0.7855 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.01295, allocations: 100.7 kB / 0.7856 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.01297, allocations: 15.94 kB / 0.7856 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.01313, allocations: 169.7 kB / 0.7857 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.01313, allocations: 0.6875 kB / 0.7857 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.0002829/0.01341, allocations: 250 kB / 0.786 GB, free: 11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.01346, allocations: 117.1 kB / 0.7861 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.01364, allocations: 299.4 kB / 0.7864 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.01367, allocations: 37.7 kB / 0.7864 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.01378, allocations: 233.8 kB / 0.7866 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.01385, allocations: 170.5 kB / 0.7868 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.877e-05/0.01395, allocations: 99.03 kB / 0.7869 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.01406, allocations: 354.7 kB / 0.7872 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.0142, allocations: 109.1 kB / 0.7873 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.01437, allocations: 293.6 kB / 0.7876 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.01458, allocations: 254 kB / 0.7878 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01459, allocations: 0 / 0.7878 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002924/0.01488, allocations: 343.8 kB / 0.7882 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.01491, allocations: 41.27 kB / 0.7882 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01491, allocations: 4 kB / 0.7882 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.01492, allocations: 4 kB / 0.7882 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.01512, allocations: 100.5 kB / 0.7883 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.01513, allocations: 4 kB / 0.7883 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.01528, allocations: 68.7 kB / 0.7884 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.0153, allocations: 16.5 kB / 0.7884 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001446/0.01545, allocations: 187.3 kB / 0.7886 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001558/0.0156, allocations: 289.2 kB / 0.7889 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001811/0.01578, allocations: 258.1 kB / 0.7891 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.01579, allocations: 0.9375 kB / 0.7891 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0002635/0.01605, allocations: 335.5 kB / 0.7894 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.01607, allocations: 41.69 kB / 0.7895 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.01607, allocations: 2.406 kB / 0.7895 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-06/0.01608, allocations: 4 kB / 0.7895 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.01624, allocations: 91.84 kB / 0.7896 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.01625, allocations: 4 kB / 0.7896 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.01637, allocations: 59.75 kB / 0.7896 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.01639, allocations: 18.73 kB / 0.7896 GB, free: 6.941 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidSca.con1.y,pidNoSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0001029/0.0165, allocations: 216.1 kB / 0.7898 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.01653, allocations: 35.97 kB / 0.7899 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.01676, allocations: 231.7 kB / 0.7901 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01677, allocations: 4 kB / 0.7901 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01677, allocations: 1.25 kB / 0.7901 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.01677, allocations: 3.984 kB / 0.7901 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.01739, allocations: 0.6148 MB / 0.7907 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01739, allocations: 4 kB / 0.7907 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.01757, allocations: 88.55 kB / 0.7908 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01757, allocations: 1.312 kB / 0.7908 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.01759, allocations: 16 kB / 0.7908 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01759, allocations: 0 / 0.7908 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.01759, allocations: 4 kB / 0.7908 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.01794, allocations: 428.1 kB / 0.7912 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.01798, allocations: 51.58 kB / 0.7913 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.018, allocations: 13.03 kB / 0.7913 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.556e-05/0.0181, allocations: 19.98 kB / 0.7913 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.01813, allocations: 33.64 kB / 0.7913 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.01815, allocations: 11.98 kB / 0.7913 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.759e-05/0.01824, allocations: 124.7 kB / 0.7915 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01824, allocations: 0 / 0.7915 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003274/0.01856, allocations: 215.3 kB / 0.7917 GB, free: 4.77 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001391/0.0187, allocations: 103.2 kB / 0.7918 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004592/0.01916, allocations: 0.5402 MB / 0.7923 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.01917, allocations: 11.94 kB / 0.7923 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01927, allocations: 117.9 kB / 0.7924 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.01956, allocations: 110.8 kB / 0.7925 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008237/0.02038, allocations: 0.8404 MB / 0.7933 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.724e-05/0.02046, allocations: 122.2 kB / 0.7935 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.02059, allocations: 49.28 kB / 0.7935 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.02078, allocations: 144.1 kB / 0.7937 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.02078, allocations: 0 / 0.7937 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of Templates: time 0.008658/0.02944, allocations: 6.746 MB / 0.8002 GB, free: 12.14 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.178313651122153]