Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.509/2.509, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001473/0.001473, allocations: 188.8 kB / 360.6 MB, free: 7.273 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.061/2.061, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 89.84 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.437e-05, allocations: 4 kB / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9124/0.9124, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3017/1.214, allocations: 145.6 MB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.215, allocations: 72.59 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.09075/1.305, allocations: 19.73 MB / 1.125 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.334e-06/1.305, allocations: 0 / 1.125 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001296/1.306, allocations: 24 kB / 1.125 GB, free: 7.094 MB / 0.7292 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.003286/1.309, allocations: 1.082 MB / 1.126 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/1.309, allocations: 12.03 kB / 1.126 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/1.31, allocations: 123.3 kB / 1.126 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/1.312, allocations: 0.7308 MB / 1.127 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/1.312, allocations: 61.38 kB / 1.127 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/1.312, allocations: 47.91 kB / 1.127 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001484/1.314, allocations: 452 kB / 1.127 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/1.316, allocations: 0.626 MB / 1.128 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.316, allocations: 0 / 1.128 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/1.316, allocations: 4 kB / 1.128 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/1.316, allocations: 19.19 kB / 1.128 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006071/1.322, allocations: 2.215 MB / 1.13 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/1.324, allocations: 0.5571 MB / 1.131 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/1.324, allocations: 210.5 kB / 1.131 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/1.324, allocations: 12.55 kB / 1.131 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007737/1.325, allocations: 278.8 kB / 1.131 GB, free: 484 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 3.888e-06/1.325, allocations: 0 / 1.131 GB, free: 484 kB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.001724/1.327, allocations: 498.6 kB / 1.132 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.327, allocations: 141.1 kB / 1.132 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.328, allocations: 0.5553 MB / 1.132 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/1.329, allocations: 33.7 kB / 1.132 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000539/1.329, allocations: 444.1 kB / 1.133 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/1.33, allocations: 197 kB / 1.133 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/1.33, allocations: 0 / 1.133 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.33, allocations: 326 kB / 1.133 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/1.33, allocations: 169.6 kB / 1.133 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/1.331, allocations: 290.1 kB / 1.134 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/1.332, allocations: 198.1 kB / 1.134 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/1.332, allocations: 0 / 1.134 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001644/1.333, allocations: 0.5525 MB / 1.134 GB, free: 13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004931/1.334, allocations: 0.8793 MB / 1.135 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.334, allocations: 4 kB / 1.135 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/1.334, allocations: 6.625 kB / 1.135 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.336, allocations: 163.8 kB / 1.136 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/1.336, allocations: 11.94 kB / 1.136 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.337, allocations: 67.5 kB / 1.136 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/1.337, allocations: 20 kB / 1.136 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.337, allocations: 7.953 kB / 1.136 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/1.338, allocations: 441.2 kB / 1.136 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.338, allocations: 7.984 kB / 1.136 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.338, allocations: 4 kB / 1.136 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/1.34, allocations: 152 kB / 1.136 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.34, allocations: 7.984 kB / 1.136 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/1.341, allocations: 51.56 kB / 1.136 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/1.341, allocations: 27 kB / 1.136 GB, free: 11.11 MB / 0.7448 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,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete 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.0002794/1.341, allocations: 130.1 kB / 1.136 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00148/1.343, allocations: 0.4905 MB / 1.137 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/1.343, allocations: 82.97 kB / 1.137 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/1.343, allocations: 92.88 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.343, allocations: 4 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.343, allocations: 4 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/1.343, allocations: 3.984 kB / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/1.347, allocations: 1.322 MB / 1.138 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.347, allocations: 0 / 1.138 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.348, allocations: 113.3 kB / 1.138 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/1.348, allocations: 4 kB / 1.138 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/1.348, allocations: 11.98 kB / 1.138 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/1.348, allocations: 0 / 1.138 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.348, allocations: 4 kB / 1.138 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/1.35, allocations: 0.8616 MB / 1.139 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/1.351, allocations: 227.8 kB / 1.14 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.351, allocations: 0 / 1.14 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.352, allocations: 44.09 kB / 1.14 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.352, allocations: 36.5 kB / 1.14 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/1.352, allocations: 19.98 kB / 1.14 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008878/1.353, allocations: 439.2 kB / 1.14 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.4e-07/1.353, allocations: 0 / 1.14 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001314/1.355, allocations: 270.8 kB / 1.14 GB, free: 6.891 MB / 0.7448 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 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete 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.002528/1.357, allocations: 1.42 MB / 1.142 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.359, allocations: 0.7437 MB / 1.142 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.359, allocations: 0 / 1.142 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006503/1.36, allocations: 234 kB / 1.143 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.362, allocations: 218.2 kB / 1.143 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/1.366, allocations: 1.269 MB / 1.144 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/1.367, allocations: 1.019 MB / 1.145 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001415/1.369, allocations: 159.3 kB / 1.145 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008462/1.37, allocations: 347.3 kB / 1.146 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of SimCode: time 1.693e-06/1.37, allocations: 0 / 1.146 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0754/1.445, allocations: 16.78 MB / 1.162 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003017/1.445, allocations: 148.9 kB / 1.162 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.184/4.629, allocations: 0 / 1.162 GB, free: 0.75 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)