Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001076/0.001076, allocations: 196.8 kB / 371.9 MB, free: 10.28 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.489/1.489, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009549/0.0009548, allocations: 89.59 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007453/0.0007456, allocations: 13.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2918, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.00263/0.2945, allocations: 2.639 MB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.2969, allocations: 1.646 MB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.2975, allocations: 19.94 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.2976, allocations: 75.16 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.2982, allocations: 143.5 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.2986, allocations: 247.7 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006988/0.2993, allocations: 0.601 MB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.2999, allocations: 439.6 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.3001, allocations: 246.6 kB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.3004, allocations: 302 kB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/0.3005, allocations: 28 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.3006, allocations: 24 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.39e-05/0.3006, allocations: 131.3 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3008, allocations: 161.2 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.3013, allocations: 0.9703 MB / 0.9869 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3013, allocations: 3.938 kB / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3013, allocations: 0 / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.3014, allocations: 0 / 0.9869 GB, free: 20.01 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.001742/0.3031, allocations: 1.192 MB / 0.9881 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3032, allocations: 8.031 kB / 0.9881 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.3033, allocations: 126.5 kB / 0.9882 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006943/0.304, allocations: 0.5628 MB / 0.9887 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/0.3041, allocations: 66 kB / 0.9888 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.3042, allocations: 91.91 kB / 0.9889 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3054, allocations: 0.8549 MB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.3055, allocations: 0 / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.3055, allocations: 36 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.3055, allocations: 24 kB / 0.9898 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.3066, allocations: 0.6246 MB / 0.9904 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003142/0.3097, allocations: 2.724 MB / 0.9931 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.311, allocations: 1.326 MB / 0.9944 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.3111, allocations: 12.56 kB / 0.9944 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005733/0.3117, allocations: 351 kB / 0.9947 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=68): time 2.395e-06/0.3117, allocations: 3.938 kB / 0.9947 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=68): time 0.001343/0.313, allocations: 0.8066 MB / 0.9955 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.3131, allocations: 166.8 kB / 0.9957 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.3136, allocations: 0.5863 MB / 0.9962 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.3137, allocations: 45.64 kB / 0.9963 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.3139, allocations: 424 kB / 0.9967 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.314, allocations: 228.6 kB / 0.9969 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.314, allocations: 16 kB / 0.9969 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.3141, allocations: 382.8 kB / 0.9973 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.3145, allocations: 229.2 kB / 0.9975 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.315, allocations: 341.4 kB / 0.9978 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.3154, allocations: 263.1 kB / 0.9981 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3154, allocations: 4 kB / 0.9981 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009891/0.3164, allocations: 0.6721 MB / 0.9987 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.3166, allocations: 362.7 kB / 0.9991 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3166, allocations: 0 / 0.9991 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3166, allocations: 8 kB / 0.9991 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.3171, allocations: 155.8 kB / 0.9992 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3171, allocations: 15.88 kB / 0.9992 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.3175, allocations: 103.4 kB / 0.9993 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.3175, allocations: 20 kB / 0.9994 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.3175, allocations: 4 kB / 0.9994 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005633/0.3181, allocations: 467.6 kB / 0.9998 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.3181, allocations: 4 kB / 0.9998 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.3181, allocations: 4 kB / 0.9998 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.3185, allocations: 123.8 kB / 0.9999 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3185, allocations: 8.094 kB / 0.9999 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.3188, allocations: 79.36 kB / 1 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.3188, allocations: 20 kB / 1 GB, free: 6.047 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.0002674/0.3191, allocations: 296.9 kB / 1 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.737e-05/0.3192, allocations: 79.06 kB / 1 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.3193, allocations: 78.95 kB / 1 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.3193, allocations: 8 kB / 1 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3193, allocations: 0 / 1 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3193, allocations: 3.984 kB / 1 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.3212, allocations: 1.59 MB / 1.002 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3212, allocations: 4 kB / 1.002 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.3217, allocations: 139.7 kB / 1.002 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3217, allocations: 4 kB / 1.002 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.3217, allocations: 12 kB / 1.002 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3217, allocations: 0 / 1.002 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3217, allocations: 0 / 1.002 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.3231, allocations: 1.026 MB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.3232, allocations: 152.1 kB / 1.003 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.3233, allocations: 16 kB / 1.003 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.3236, allocations: 55.95 kB / 1.003 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.3237, allocations: 36.52 kB / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3237, allocations: 23.98 kB / 1.003 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003674/0.3241, allocations: 423 kB / 1.004 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.72e-07/0.3241, allocations: 96 / 1.004 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006669/0.3248, allocations: 310.3 kB / 1.004 GB, free: 1.711 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.0002011/0.325, allocations: 123.2 kB / 1.004 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.3262, allocations: 0.8241 MB / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3262, allocations: 0 / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.3267, allocations: 307.2 kB / 1.005 GB, free: 472 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.3273, allocations: 127 kB / 1.005 GB, free: 344 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3296, allocations: 1.815 MB / 1.007 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.3302, allocations: 1.001 MB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000322/0.3305, allocations: 89.27 kB / 1.008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3307, allocations: 55.42 kB / 1.008 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of SimCode: time 9.51e-07/0.3307, allocations: 4 kB / 1.008 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of Templates: time 0.01236/0.343, allocations: 6.509 MB / 1.015 GB, free: 6.863 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)