Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",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.0007259/0.0007259, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007908/0.0007908, allocations: 172.7 kB / 15.95 MB, free: 208 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.183/1.183, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.496/1.496, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0004621/0.0004622, allocations: 16.41 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1735, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003525/0.177, allocations: 3.68 MB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1795, allocations: 1.552 MB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005402/0.18, allocations: 35.81 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.1804, allocations: 110.8 kB / 0.7926 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.1809, allocations: 170.8 kB / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.182, allocations: 0.5215 MB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00101/0.183, allocations: 1.054 MB / 0.7943 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/0.1836, allocations: 347.4 kB / 0.7947 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.184, allocations: 338 kB / 0.795 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.1844, allocations: 333.8 kB / 0.7953 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.583e-05/0.1845, allocations: 24 kB / 0.7953 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.1845, allocations: 28 kB / 0.7954 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1846, allocations: 139.2 kB / 0.7955 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.1848, allocations: 177.1 kB / 0.7957 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000581/0.1854, allocations: 0.8146 MB / 0.7965 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1854, allocations: 0 / 0.7965 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1854, allocations: 0 / 0.7965 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.609e-05/0.1854, allocations: 0 / 0.7965 GB, free: 2.469 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001945/0.1874, allocations: 1.255 MB / 0.7977 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1874, allocations: 8.031 kB / 0.7977 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.1876, allocations: 114.5 kB / 0.7978 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.1878, allocations: 122.5 kB / 0.7979 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.1888, allocations: 0.7035 MB / 0.7986 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/0.1889, allocations: 87.64 kB / 0.7987 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.189, allocations: 68 kB / 0.7988 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1901, allocations: 0.7407 MB / 0.7995 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1901, allocations: 0 / 0.7995 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.1902, allocations: 28 kB / 0.7995 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1902, allocations: 16 kB / 0.7995 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.1912, allocations: 0.5243 MB / 0.8 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.1942, allocations: 2.302 MB / 0.8023 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.1955, allocations: 0.6346 MB / 0.8029 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.1959, allocations: 282.4 kB / 0.8032 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.196, allocations: 4.562 kB / 0.8032 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005806/0.1966, allocations: 331 kB / 0.8035 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 1.884e-06/0.1966, allocations: 0 / 0.8035 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.001332/0.1979, allocations: 0.7676 MB / 0.8042 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.198, allocations: 89.67 kB / 0.8043 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.1987, allocations: 0.7482 MB / 0.8051 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.1988, allocations: 41.7 kB / 0.8051 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.1991, allocations: 444.5 kB / 0.8055 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.1992, allocations: 201 kB / 0.8057 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1992, allocations: 12 kB / 0.8057 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.1993, allocations: 333.9 kB / 0.806 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.1997, allocations: 209.2 kB / 0.8062 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.2002, allocations: 304.5 kB / 0.8065 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.2006, allocations: 242.1 kB / 0.8068 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2006, allocations: 0 / 0.8068 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001037/0.2016, allocations: 0.658 MB / 0.8074 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/0.2017, allocations: 155 kB / 0.8076 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2017, allocations: 7.938 kB / 0.8076 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2018, allocations: 4 kB / 0.8076 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.2023, allocations: 147.8 kB / 0.8077 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2024, allocations: 11.89 kB / 0.8077 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.2027, allocations: 79.34 kB / 0.8078 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.2028, allocations: 20 kB / 0.8078 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.2028, allocations: 4 kB / 0.8078 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000861/0.2036, allocations: 0.5245 MB / 0.8083 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2036, allocations: 7.984 kB / 0.8083 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.2037, allocations: 4 kB / 0.8083 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.2042, allocations: 139.8 kB / 0.8085 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2042, allocations: 8.188 kB / 0.8085 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.2045, allocations: 67.42 kB / 0.8085 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.2046, allocations: 20 kB / 0.8086 GB, free: 5.676 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000254/0.2048, allocations: 300.9 kB / 0.8089 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.2049, allocations: 94.88 kB / 0.8089 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.2051, allocations: 101.3 kB / 0.809 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.2051, allocations: 12 kB / 0.809 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2051, allocations: 0 / 0.809 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2052, allocations: 4.078 kB / 0.8091 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.207, allocations: 1.454 MB / 0.8105 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.207, allocations: 7.984 kB / 0.8105 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.2075, allocations: 103.9 kB / 0.8106 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2075, allocations: 0 / 0.8106 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.2075, allocations: 19.98 kB / 0.8106 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2075, allocations: 4 kB / 0.8106 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2075, allocations: 0 / 0.8106 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.209, allocations: 0.9746 MB / 0.8116 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.2092, allocations: 223.7 kB / 0.8118 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.2093, allocations: 16 kB / 0.8118 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.2096, allocations: 43.97 kB / 0.8118 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.2097, allocations: 36.5 kB / 0.8119 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.2098, allocations: 20 kB / 0.8119 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005256/0.2103, allocations: 0.5148 MB / 0.8124 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2103, allocations: 4 kB / 0.8124 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005948/0.2109, allocations: 271.1 kB / 0.8126 GB, free: 1.383 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.2126, allocations: 1.543 MB / 0.8142 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.2139, allocations: 0.7997 MB / 0.8149 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.214, allocations: 0 / 0.8149 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.2144, allocations: 275.7 kB / 0.8152 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/0.2154, allocations: 234.8 kB / 0.8154 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/0.2223, allocations: 5.132 MB / 0.8204 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.2227, allocations: 0.9901 MB / 0.8214 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004276/0.2232, allocations: 118.9 kB / 0.8215 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.2236, allocations: 351.3 kB / 0.8218 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.2236, allocations: 4 kB / 0.8218 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.2523, allocations: 16.58 MB / 0.838 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.2525, allocations: 190 kB / 0.8382 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.027, allocations: 4 kB / 0.8382 GB, free: 7.094 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: