Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008714/0.0008714, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.603/1.603, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005438/0.0005439, allocations: 20.81 kB / 0.6736 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2276, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003061/0.2307, allocations: 2.642 MB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.2333, allocations: 1.65 MB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000381/0.2337, allocations: 15.94 kB / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.2338, allocations: 71.16 kB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.2343, allocations: 143.5 kB / 0.7915 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.2347, allocations: 243.6 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006978/0.2354, allocations: 0.6088 MB / 0.7924 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005423/0.236, allocations: 447.6 kB / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.2362, allocations: 238.7 kB / 0.793 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.2365, allocations: 298 kB / 0.7933 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/0.2365, allocations: 24 kB / 0.7933 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.452e-05/0.2366, allocations: 28 kB / 0.7934 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2367, allocations: 131.3 kB / 0.7935 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.2368, allocations: 165.1 kB / 0.7936 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007024/0.2375, allocations: 0.9781 MB / 0.7946 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2375, allocations: 0 / 0.7946 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2375, allocations: 4 kB / 0.7946 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.2376, allocations: 0 / 0.7946 GB, free: 4.254 MB / 0.6075 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.00184/0.2394, allocations: 1.181 MB / 0.7958 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2394, allocations: 15.97 kB / 0.7958 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.2396, allocations: 122.6 kB / 0.7959 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007553/0.2404, allocations: 0.5744 MB / 0.7964 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.2404, allocations: 66 kB / 0.7965 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2405, allocations: 91.91 kB / 0.7966 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.2418, allocations: 0.8432 MB / 0.7974 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.2418, allocations: 7.938 kB / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.2419, allocations: 36 kB / 0.7975 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.2419, allocations: 20 kB / 0.7975 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.2431, allocations: 0.6246 MB / 0.7981 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.2467, allocations: 2.728 MB / 0.8008 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.2482, allocations: 1.33 MB / 0.8021 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.2483, allocations: 8.5 kB / 0.8021 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/0.2489, allocations: 351 kB / 0.8024 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 2.354e-06/0.2489, allocations: 0 / 0.8024 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001491/0.2504, allocations: 0.8066 MB / 0.8032 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.704e-05/0.2505, allocations: 166.9 kB / 0.8033 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.2511, allocations: 0.5939 MB / 0.8039 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.2512, allocations: 41.7 kB / 0.804 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.2515, allocations: 420 kB / 0.8044 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.2516, allocations: 232.6 kB / 0.8046 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.2517, allocations: 12 kB / 0.8046 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2518, allocations: 386.8 kB / 0.805 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.2523, allocations: 229.2 kB / 0.8052 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.2529, allocations: 349.3 kB / 0.8055 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.2534, allocations: 255.2 kB / 0.8058 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2534, allocations: 0 / 0.8058 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001107/0.2545, allocations: 0.676 MB / 0.8064 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.2547, allocations: 366.6 kB / 0.8068 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2547, allocations: 0 / 0.8068 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2548, allocations: 4 kB / 0.8068 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.2553, allocations: 151.8 kB / 0.8069 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2553, allocations: 7.953 kB / 0.8069 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.2557, allocations: 107.4 kB / 0.807 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.2557, allocations: 24 kB / 0.8071 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/0.2557, allocations: 4 kB / 0.8071 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006417/0.2564, allocations: 471.6 kB / 0.8075 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.2564, allocations: 0 / 0.8075 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.2564, allocations: 4 kB / 0.8075 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.2568, allocations: 119.8 kB / 0.8076 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2568, allocations: 11.92 kB / 0.8076 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.2571, allocations: 83.45 kB / 0.8077 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.2571, allocations: 20 kB / 0.8077 GB, free: 6.285 MB / 0.6231 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.0003373/0.2575, allocations: 296.9 kB / 0.808 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.2576, allocations: 75.06 kB / 0.8081 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.2577, allocations: 78.95 kB / 0.8082 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.2577, allocations: 8 kB / 0.8082 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2577, allocations: 0 / 0.8082 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.2577, allocations: 3.984 kB / 0.8082 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.2599, allocations: 1.594 MB / 0.8097 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.26, allocations: 3.938 kB / 0.8097 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/0.2605, allocations: 135.8 kB / 0.8099 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2605, allocations: 4 kB / 0.8099 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.2606, allocations: 12 kB / 0.8099 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2606, allocations: 7.938 kB / 0.8099 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2606, allocations: 4 kB / 0.8099 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.2622, allocations: 1.022 MB / 0.8109 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.2624, allocations: 156.1 kB / 0.811 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.2624, allocations: 16 kB / 0.8111 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.2628, allocations: 55.95 kB / 0.8111 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.2628, allocations: 32.52 kB / 0.8111 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.2629, allocations: 23.98 kB / 0.8112 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004603/0.2634, allocations: 423 kB / 0.8116 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2634, allocations: 0 / 0.8116 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006694/0.264, allocations: 306.4 kB / 0.8119 GB, free: 1.965 MB / 0.6231 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.0002177/0.2643, allocations: 123.3 kB / 0.812 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.2656, allocations: 0.8241 MB / 0.8128 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2657, allocations: 0 / 0.8128 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.2661, allocations: 307.2 kB / 0.8131 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.2668, allocations: 127 kB / 0.8132 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.2691, allocations: 1.815 MB / 0.815 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.2696, allocations: 0.9975 MB / 0.8159 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000278/0.2699, allocations: 89.27 kB / 0.816 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2701, allocations: 55.42 kB / 0.8161 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of SimCode: time 4.7e-07/0.2701, allocations: 0 / 0.8161 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of Templates: time 0.01137/0.2815, allocations: 6.507 MB / 0.8224 GB, free: 7.125 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) Environment - environmentSimulation: