Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.603/3.603, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001559/0.001559, allocations: 178.8 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.607/2.607, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 92.98 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007016/0.0007019, allocations: 17.62 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.279, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003975/0.2831, allocations: 2.642 MB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003756/0.2869, allocations: 1.646 MB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000875/0.2878, allocations: 15.94 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.2881, allocations: 71.16 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.2892, allocations: 155.4 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009134/0.2902, allocations: 235.7 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001457/0.2916, allocations: 0.6049 MB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008366/0.2925, allocations: 447.6 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.293, allocations: 242.6 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.2934, allocations: 298.1 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.976e-05/0.2935, allocations: 24 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.2936, allocations: 28 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2937, allocations: 127.3 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.2939, allocations: 169.1 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.295, allocations: 0.9703 MB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.295, allocations: 0 / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.295, allocations: 4 kB / 0.9857 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.048e-05/0.2951, allocations: 0 / 0.9857 GB, free: 20.67 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003073/0.2982, allocations: 1.192 MB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.2982, allocations: 12.03 kB / 0.9868 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.2986, allocations: 114.6 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.2998, allocations: 0.5667 MB / 0.9875 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.2999, allocations: 77.94 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.3001, allocations: 95.91 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.3023, allocations: 0.8432 MB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.3023, allocations: 4 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.3025, allocations: 36 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.3025, allocations: 24 kB / 0.9886 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.3046, allocations: 0.6246 MB / 0.9892 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.3105, allocations: 2.732 MB / 0.9918 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.3127, allocations: 1.331 MB / 0.9931 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.048e-05/0.3129, allocations: 4.562 kB / 0.9931 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.3139, allocations: 351 kB / 0.9935 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 3.727e-06/0.3139, allocations: 0 / 0.9935 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.002507/0.3164, allocations: 0.8066 MB / 0.9943 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.3166, allocations: 162.8 kB / 0.9944 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.3176, allocations: 0.59 MB / 0.995 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/0.3178, allocations: 41.7 kB / 0.995 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.3181, allocations: 420.1 kB / 0.9954 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.3183, allocations: 236.5 kB / 0.9957 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.3184, allocations: 12 kB / 0.9957 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3185, allocations: 390.8 kB / 0.996 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/0.3193, allocations: 229.1 kB / 0.9963 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008611/0.3202, allocations: 345.4 kB / 0.9966 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008379/0.3211, allocations: 259.1 kB / 0.9968 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3211, allocations: 0 / 0.9968 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001929/0.323, allocations: 0.6799 MB / 0.9975 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.3232, allocations: 362.7 kB / 0.9979 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3232, allocations: 0 / 0.9979 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.3233, allocations: 7.953 kB / 0.9979 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.3243, allocations: 147.8 kB / 0.998 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.3244, allocations: 4 kB / 0.998 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.3251, allocations: 111.4 kB / 0.9981 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/0.3252, allocations: 24 kB / 0.9981 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3252, allocations: 4 kB / 0.9981 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/0.3263, allocations: 471.5 kB / 0.9986 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3263, allocations: 0 / 0.9986 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.3263, allocations: 4 kB / 0.9986 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.3272, allocations: 119.8 kB / 0.9987 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3272, allocations: 4 kB / 0.9987 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.3278, allocations: 91.42 kB / 0.9988 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.3279, allocations: 20 kB / 0.9988 GB, free: 6.699 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005163/0.3284, allocations: 299 kB / 0.9991 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3285, allocations: 75.06 kB / 0.9992 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.3288, allocations: 78.95 kB / 0.9992 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3288, allocations: 8 kB / 0.9993 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.3288, allocations: 0 / 0.9993 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3288, allocations: 7.984 kB / 0.9993 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.3322, allocations: 1.59 MB / 1.001 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.3322, allocations: 0 / 1.001 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.3334, allocations: 131.8 kB / 1.001 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.3334, allocations: 4 kB / 1.001 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.3335, allocations: 23.94 kB / 1.001 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.3335, allocations: 4 kB / 1.001 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3335, allocations: 3.953 kB / 1.001 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.3361, allocations: 1.022 MB / 1.002 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.3364, allocations: 148.1 kB / 1.002 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.3365, allocations: 16 kB / 1.002 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/0.3372, allocations: 55.95 kB / 1.002 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3373, allocations: 40.45 kB / 1.002 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.3373, allocations: 23.98 kB / 1.002 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006646/0.338, allocations: 423.1 kB / 1.003 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/0.338, allocations: 0 / 1.003 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001006/0.3391, allocations: 302.4 kB / 1.003 GB, free: 2.367 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002059/0.3393, allocations: 127.2 kB / 1.003 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002378/0.3417, allocations: 0.8241 MB / 1.004 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.3417, allocations: 0 / 1.004 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.343, allocations: 307.2 kB / 1.004 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.3451, allocations: 125.6 kB / 1.004 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.3493, allocations: 1.815 MB / 1.006 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/0.3501, allocations: 0.9975 MB / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006412/0.3508, allocations: 89.27 kB / 1.007 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.3511, allocations: 59.36 kB / 1.007 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of SimCode: time 1.212e-06/0.3511, allocations: 0 / 1.007 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.0267/0.3778, allocations: 6.51 MB / 1.014 GB, free: 7.516 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)