Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.578/1.578, allocations: 288.2 MB / 303.2 MB, free: 8.117 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.00098/0.0009801, allocations: 178.6 kB / 371.8 MB, free: 10.29 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.511/1.511, allocations: 205.4 MB / 0.6305 GB, free: 9.957 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.0008661/0.000866, allocations: 105.7 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004038, allocations: 10.41 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7877/1.016, allocations: 146.5 MB / 1.123 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.017, allocations: 83.97 kB / 1.123 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0509/1.068, allocations: 19.9 MB / 1.142 GB, free: 26.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.296e-06/1.068, allocations: 0 / 1.142 GB, free: 26.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002395/1.068, allocations: 26.78 kB / 1.142 GB, free: 26.12 MB / 0.698 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.003872/1.072, allocations: 1.249 MB / 1.143 GB, free: 25.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/1.072, allocations: 15.48 kB / 1.143 GB, free: 25.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004357/1.072, allocations: 112.8 kB / 1.143 GB, free: 25.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004958/1.073, allocations: 123.6 kB / 1.144 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/1.075, allocations: 0.7338 MB / 1.144 GB, free: 24.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.075, allocations: 84.27 kB / 1.144 GB, free: 24.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.075, allocations: 73.27 kB / 1.144 GB, free: 24.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/1.077, allocations: 0.7745 MB / 1.145 GB, free: 24.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/1.077, allocations: 3.984 kB / 1.145 GB, free: 24.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/1.077, allocations: 37.02 kB / 1.145 GB, free: 24.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/1.077, allocations: 23.31 kB / 1.145 GB, free: 24.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/1.078, allocations: 0.5606 MB / 1.146 GB, free: 24.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/1.082, allocations: 2.354 MB / 1.148 GB, free: 22.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/1.084, allocations: 0.7026 MB / 1.149 GB, free: 22.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/1.084, allocations: 8.25 kB / 1.149 GB, free: 22.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008128/1.085, allocations: 359.1 kB / 1.149 GB, free: 22.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.216e-06/1.085, allocations: 0 / 1.149 GB, free: 22.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001759/1.087, allocations: 0.8195 MB / 1.15 GB, free: 22.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/1.087, allocations: 147.9 kB / 1.15 GB, free: 22.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/1.088, allocations: 0.6618 MB / 1.151 GB, free: 22.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.143e-05/1.088, allocations: 37.39 kB / 1.151 GB, free: 22.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/1.088, allocations: 442.7 kB / 1.151 GB, free: 21.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/1.088, allocations: 202 kB / 1.151 GB, free: 21.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/1.088, allocations: 14.25 kB / 1.151 GB, free: 21.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.088, allocations: 331.8 kB / 1.152 GB, free: 21.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/1.089, allocations: 225.9 kB / 1.152 GB, free: 21.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/1.09, allocations: 339.1 kB / 1.152 GB, free: 21.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/1.09, allocations: 249.4 kB / 1.152 GB, free: 21.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.09, allocations: 0 / 1.152 GB, free: 21.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001347/1.091, allocations: 0.7017 MB / 1.153 GB, free: 21.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000395/1.092, allocations: 0.8771 MB / 1.154 GB, free: 20.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.092, allocations: 3.812 kB / 1.154 GB, free: 20.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/1.092, allocations: 7.906 kB / 1.154 GB, free: 20.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/1.093, allocations: 161.3 kB / 1.154 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/1.093, allocations: 7.719 kB / 1.154 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/1.094, allocations: 95.97 kB / 1.154 GB, free: 20.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/1.094, allocations: 25.17 kB / 1.154 GB, free: 20.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.094, allocations: 5.75 kB / 1.154 GB, free: 20.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/1.095, allocations: 0.5531 MB / 1.155 GB, free: 19.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.095, allocations: 4.062 kB / 1.155 GB, free: 19.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/1.095, allocations: 11.66 kB / 1.155 GB, free: 19.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/1.095, allocations: 150.9 kB / 1.155 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.096, allocations: 3.844 kB / 1.155 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/1.096, allocations: 81.19 kB / 1.155 GB, free: 19.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/1.096, allocations: 18.94 kB / 1.155 GB, free: 19.89 MB / 0.698 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 () * 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.0005436/1.097, allocations: 297.4 kB / 1.155 GB, free: 19.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/1.097, allocations: 93.55 kB / 1.155 GB, free: 19.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/1.097, allocations: 105.6 kB / 1.156 GB, free: 19.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.097, allocations: 7.188 kB / 1.156 GB, free: 19.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/1.097, allocations: 3.938 kB / 1.156 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.097, allocations: 3.984 kB / 1.156 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/1.1, allocations: 1.528 MB / 1.157 GB, free: 18.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.1, allocations: 0 / 1.157 GB, free: 18.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/1.1, allocations: 109.7 kB / 1.157 GB, free: 18.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/1.1, allocations: 8 kB / 1.157 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/1.1, allocations: 11.06 kB / 1.157 GB, free: 18.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.1, allocations: 7.984 kB / 1.157 GB, free: 18.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.101, allocations: 0 / 1.157 GB, free: 18.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/1.102, allocations: 1.047 MB / 1.158 GB, free: 17.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/1.103, allocations: 230.5 kB / 1.158 GB, free: 17.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.103, allocations: 14 kB / 1.158 GB, free: 17.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/1.103, allocations: 51.2 kB / 1.159 GB, free: 17.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.103, allocations: 35.62 kB / 1.159 GB, free: 17.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/1.103, allocations: 26.8 kB / 1.159 GB, free: 17.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007322/1.104, allocations: 0.5178 MB / 1.159 GB, free: 17.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.104, allocations: 0 / 1.159 GB, free: 17.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009138/1.105, allocations: 286.6 kB / 1.159 GB, free: 16.79 MB / 0.698 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 () * 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.002139/1.107, allocations: 1.609 MB / 1.161 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00177/1.109, allocations: 0.866 MB / 1.162 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.109, allocations: 0 / 1.162 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/1.11, allocations: 292.2 kB / 1.162 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.111, allocations: 225.1 kB / 1.162 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/1.115, allocations: 3.653 MB / 1.166 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/1.116, allocations: 1.013 MB / 1.167 GB, free: 9.867 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007061/1.117, allocations: 118.4 kB / 1.167 GB, free: 9.746 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/1.117, allocations: 361.6 kB / 1.167 GB, free: 9.656 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/1.117, allocations: 0 / 1.167 GB, free: 9.656 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04205/1.159, allocations: 16.73 MB / 1.184 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/1.16, allocations: 195 kB / 1.184 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.739, allocations: 0 / 1.184 GB, free: 8.926 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)