Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 176.5 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 0.5775 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 92.3 kB / 0.6821 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003341, allocations: 7.875 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 106.3 MB / 0.9001 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.384, allocations: 140.2 MB / 1.037 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.3843, allocations: 79.97 kB / 1.037 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4684/0.8527, allocations: 19.91 MB / 1.057 GB, free: 143.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.045e-06/0.8528, allocations: 0 / 1.057 GB, free: 143.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002195/0.853, allocations: 22.66 kB / 1.057 GB, free: 143.7 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.002894/0.8559, allocations: 1.247 MB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.856, allocations: 10.5 kB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.8562, allocations: 114.1 kB / 1.058 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.8564, allocations: 120.3 kB / 1.058 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.8577, allocations: 0.7455 MB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/0.8578, allocations: 81.02 kB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.8579, allocations: 67.69 kB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.8593, allocations: 0.78 MB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.8593, allocations: 1.312 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.8594, allocations: 32.62 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.8594, allocations: 16.12 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.8606, allocations: 0.569 MB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.8654, allocations: 2.345 MB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.8673, allocations: 0.7082 MB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.8674, allocations: 7.422 kB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008455/0.8682, allocations: 352.1 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 4.398e-06/0.8682, allocations: 0 / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001779/0.87, allocations: 0.8241 MB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.8701, allocations: 135.4 kB / 1.065 GB, free: 141.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008583/0.871, allocations: 0.6617 MB / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.871, allocations: 40.83 kB / 1.065 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.8714, allocations: 444 kB / 1.066 GB, free: 141.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.8715, allocations: 199.6 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.8716, allocations: 14.19 kB / 1.066 GB, free: 141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.8717, allocations: 331.2 kB / 1.066 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.8721, allocations: 225.3 kB / 1.066 GB, free: 140.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.8728, allocations: 341.9 kB / 1.067 GB, free: 140.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.8734, allocations: 250.9 kB / 1.067 GB, free: 140.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8734, allocations: 0.9375 kB / 1.067 GB, free: 140.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00162/0.875, allocations: 0.7016 MB / 1.068 GB, free: 140.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.8753, allocations: 0.8745 MB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.8753, allocations: 3.656 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.8753, allocations: 8.641 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/0.8763, allocations: 164.3 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.8763, allocations: 9.828 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006518/0.877, allocations: 91.66 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.8771, allocations: 20.95 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8771, allocations: 4.781 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001428/0.8785, allocations: 0.5595 MB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8786, allocations: 2.281 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.8786, allocations: 5.094 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008725/0.8795, allocations: 153.8 kB / 1.07 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.8795, allocations: 10 kB / 1.07 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.8801, allocations: 72.75 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.8801, allocations: 24.58 kB / 1.07 GB, free: 139.4 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.0006253/0.8808, allocations: 297.6 kB / 1.07 GB, free: 139.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.8809, allocations: 92.47 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.8812, allocations: 107.7 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.8812, allocations: 5.906 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.8812, allocations: 0.8438 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.8812, allocations: 3.094 kB / 1.07 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.8842, allocations: 1.536 MB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8842, allocations: 4 kB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006679/0.8849, allocations: 108.6 kB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.8849, allocations: 3.188 kB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.8849, allocations: 16.72 kB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.885, allocations: 2.688 kB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.885, allocations: 0.7188 kB / 1.072 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.8874, allocations: 1.042 MB / 1.073 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.8878, allocations: 233 kB / 1.073 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.8879, allocations: 16.17 kB / 1.073 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.8884, allocations: 51.28 kB / 1.073 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.8886, allocations: 37.05 kB / 1.073 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/0.8887, allocations: 22.56 kB / 1.073 GB, free: 138.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001241/0.8899, allocations: 0.5211 MB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8899, allocations: 1 kB / 1.074 GB, free: 138.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001505/0.8914, allocations: 287.5 kB / 1.074 GB, free: 138.3 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.002523/0.894, allocations: 1.606 MB / 1.075 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.896, allocations: 0.8701 MB / 1.076 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.896, allocations: 0 / 1.076 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.8966, allocations: 295.8 kB / 1.077 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.8979, allocations: 224.5 kB / 1.077 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.9019, allocations: 3.65 MB / 1.08 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.9025, allocations: 1.014 MB / 1.081 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006761/0.9032, allocations: 118.9 kB / 1.081 GB, free: 134.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/0.9037, allocations: 355.7 kB / 1.082 GB, free: 134.1 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.9037, allocations: 0 / 1.082 GB, free: 134.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.9386, allocations: 16.73 MB / 1.098 GB, free: 130.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.9388, allocations: 183.1 kB / 1.098 GB, free: 130.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.533, allocations: 0 / 1.098 GB, free: 130.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)