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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, 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.001808/0.001808, 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 2.179/2.179, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.825/1.825, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0005172/0.0005174, allocations: 19.34 kB / 0.6737 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.256, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.002616/0.2587, allocations: 2.639 MB / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.2605, allocations: 1.646 MB / 0.7914 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.2607, allocations: 19.94 kB / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.692e-05/0.2608, allocations: 71.16 kB / 0.7915 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.2612, allocations: 155.4 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.2615, allocations: 243.7 kB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006039/0.2622, allocations: 0.601 MB / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004838/0.2627, allocations: 443.6 kB / 0.7929 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.2628, allocations: 250.6 kB / 0.7931 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.2631, allocations: 294.1 kB / 0.7934 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.2631, allocations: 32 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.2632, allocations: 24 kB / 0.7935 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.2633, allocations: 131.3 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.2634, allocations: 165.1 kB / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006195/0.264, allocations: 0.9703 MB / 0.7947 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.264, allocations: 0 / 0.7947 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.264, allocations: 0 / 0.7947 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.264, allocations: 0 / 0.7947 GB, free: 4.195 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.00165/0.2657, allocations: 1.2 MB / 0.7959 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2657, allocations: 8.031 kB / 0.7959 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.2659, allocations: 135.4 kB / 0.796 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.266, allocations: 118.6 kB / 0.7961 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.2667, allocations: 0.5667 MB / 0.7967 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.2667, allocations: 73.98 kB / 0.7968 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.2668, allocations: 95.91 kB / 0.7968 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.268, allocations: 0.8432 MB / 0.7977 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2681, allocations: 0 / 0.7977 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.2681, allocations: 43.92 kB / 0.7977 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.2681, allocations: 28 kB / 0.7977 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2692, allocations: 0.6207 MB / 0.7983 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.2724, allocations: 2.728 MB / 0.801 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2737, allocations: 1.318 MB / 0.8023 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.2738, allocations: 16.5 kB / 0.8023 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/0.2744, allocations: 351 kB / 0.8026 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 3.236e-06/0.2744, allocations: 112 / 0.8026 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001365/0.2757, allocations: 0.8105 MB / 0.8034 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.2758, allocations: 162.8 kB / 0.8036 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.2764, allocations: 0.59 MB / 0.8042 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.2764, allocations: 41.7 kB / 0.8042 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.2767, allocations: 420 kB / 0.8046 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2768, allocations: 236.6 kB / 0.8048 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.2768, allocations: 12 kB / 0.8048 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.277, allocations: 382.8 kB / 0.8052 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.2774, allocations: 233.1 kB / 0.8054 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.2779, allocations: 341.4 kB / 0.8058 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.2783, allocations: 259.1 kB / 0.806 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2783, allocations: 4 kB / 0.806 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001067/0.2794, allocations: 0.6799 MB / 0.8067 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.2795, allocations: 366.7 kB / 0.807 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2795, allocations: 0 / 0.807 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2796, allocations: 4 kB / 0.807 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.2801, allocations: 155.8 kB / 0.8072 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2801, allocations: 4 kB / 0.8072 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.2804, allocations: 107.4 kB / 0.8073 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.2805, allocations: 19.98 kB / 0.8073 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.2805, allocations: 6.812 kB / 0.8073 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006035/0.2811, allocations: 475.5 kB / 0.8078 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.2811, allocations: 0 / 0.8078 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.2811, allocations: 4 kB / 0.8078 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.2815, allocations: 119.8 kB / 0.8079 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2815, allocations: 8.094 kB / 0.8079 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.2818, allocations: 83.34 kB / 0.808 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.2818, allocations: 20 kB / 0.808 GB, free: 6.074 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.000247/0.2821, allocations: 296.9 kB / 0.8083 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.2821, allocations: 75.06 kB / 0.8083 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.2823, allocations: 82.95 kB / 0.8084 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2823, allocations: 8 kB / 0.8084 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2823, allocations: 0 / 0.8084 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.2823, allocations: 7.922 kB / 0.8084 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.2842, allocations: 1.594 MB / 0.81 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2843, allocations: 0 / 0.81 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.2848, allocations: 131.9 kB / 0.8101 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2848, allocations: 4 kB / 0.8101 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.2848, allocations: 12 kB / 0.8101 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2848, allocations: 4 kB / 0.8101 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2848, allocations: 3.953 kB / 0.8101 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2862, allocations: 1.022 MB / 0.8111 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.2864, allocations: 156 kB / 0.8113 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.2864, allocations: 16 kB / 0.8113 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.2868, allocations: 59.95 kB / 0.8114 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.2868, allocations: 32.52 kB / 0.8114 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.2869, allocations: 27.94 kB / 0.8114 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004228/0.2873, allocations: 415.1 kB / 0.8118 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2873, allocations: 4 kB / 0.8118 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005724/0.2879, allocations: 302.4 kB / 0.8121 GB, free: 1.758 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.001656/0.2896, allocations: 1.579 MB / 0.8136 GB, free: 152 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.2908, allocations: 0.8282 MB / 0.8145 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2908, allocations: 0 / 0.8145 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.2913, allocations: 311.2 kB / 0.8148 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.2918, allocations: 127.2 kB / 0.8149 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/0.2975, allocations: 4.972 MB / 0.8197 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.298, allocations: 0.9975 MB / 0.8207 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.2982, allocations: 89.27 kB / 0.8208 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.2986, allocations: 343.3 kB / 0.8211 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.2986, allocations: 0 / 0.8211 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2244/0.523, allocations: 13.35 MB / 0.8342 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/0.5233, allocations: 188.9 kB / 0.8343 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.538, allocations: 0.75 kB / 0.8343 GB, free: 11.05 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) Environment - environmentSimulation: